Mall:Scrolltable

Från Wikipedia

[visa] [redigera] [rensa sidcachen]

Dokumentation


Användning[redigera wikitext]

Mall:Scrolltable och Mall:Scrolltable/slut används tillsammans för att skapa en tabell som kan skrollas i sidled utan att första kolumnen påverkas. Tabellen skapas med vanlig tabellsyntax med skillnaden att det inledande "{|" och avslutande "|}" ersätts med {{scrolltable}} och {{scrolltable/slut}}:

{{scrolltable}}

<!-- tabellrader med vanlig tabellsyntax: -->

|-
! Rubrik 
| ruta 1 || ruta 2 || ruta 3 || ruta 4 || o.s.v.
{{scrolltable/slut}}

Exempel[redigera wikitext]

En rad Cell 1 Cell 2 Cell
3
Cell 4 Cell 5 Cell 6 Cell 7 Cell 8 Cell 9 Cell 10 Cell 11 Cell 12 Cell 13 Cell 14 Cell 15
En rad till Cell 1 Cell 2 Cell 3 Cell 4 Cell 5 Cell 6 Cell 7 Cell 8 Cell 9 Cell 10 Cell 11 Cell 12 Cell 13 Cell 14 Cell 15