Template:Table list/doc

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:48, 17 October 2024 (Created page with "{{Documentation}} Sorts any number of items into a table of a specified number of columns (default of 4). The elements are also sorted alphabetically automatically. <pre> {{Table list |header = Title |columns = n |item1 |item2 ... |itemx }} </pre> ;Examples <pre> {{Table list |header = Letters of the alphabet |columns = 3 |A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z }} </pre> {{Table list |header = Letters of the alphabet |columns = 3 |A|B|C|D|E|F|G|H|I|J|K|L|..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Table list.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Table list invokes function main in Module:Table list using Lua.

Sorts any number of items into a table of a specified number of columns (default of 4). The elements are also sorted alphabetically automatically.

{{Table list
|header = Title
|columns = n
|item1
|item2
...
|itemx
}}
Examples
{{Table list
|header = Letters of the alphabet
|columns = 3
|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
}}
Letters of the alphabet
ABC
DEF
GHI
JKL
MNO
PQR
STU
VWX
YZ
{{Table list
|header = Letters of the alphabet
|columns = 7
|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z
}}
Letters of the alphabet
ABCDEFG
HIJKLMN
OPQRSTU
VWXYZ