Skabelon:Col-float

Fra Wikipedia, den frie encyklopædi
Gå til: navigation, søg
[vis] [rediger]Template-info.svg Skabeloninformation

Skabelon til at vise lister i flere kolonner, der egner sig til visning på mobile enheder, f.eks smartphones

Side-by-side columns, based on CSS float.

This has the advantage of more cross-device-accessible behaviour, as (unlike HTML <table>s) they will wrap on display windows too narrow to show them side-by-side.

Parameters[redigér | redigér wikikode]

Defaults to 30em, as IE-based browsers don't float correctly unless width is explicitly specified
Sæt f.eks. width=15em hvis der skal være plads til tre kolonner.
  • class optional
Embed any class identifiers wished
  • style optional
Force extra CSS styling.
Placed after the existing styles, so anything implicit can be over-ruled.

Eksempel (fra polytrichaceae)[redigér | redigér wikikode]

  • Alophosia
  • Atrichopsis
  • Bartramiopsis
  • Dawsonia
  • Dendroligotrichum
  • Hebantia
  • Itatiella
  • Lyellia
  • Meiotrichum
  • Notoligotrichum
  • Plagioracelopus
  • Polytrichadelphus
  • Pseudatrichum
  • Psilopilum
  • Steereobryon



{{col-float|width=15em}}

* Alophosia
* Atrichopsis
* Bartramiopsis
* Dawsonia
* Dendroligotrichum

{{col-float-break|width=15em}}
* Hebantia
* Itatiella
* Lyellia
* Meiotrichum
* Notoligotrichum

{{col-float-break|width=15em}}
* Plagioracelopus
* Polytrichadelphus
* Pseudatrichum
* Psilopilum
* Steereobryon

{{col-float-end}}