Template:Table list

This is the current revision of this page, as edited by Alex (talk | contribs) at 00:48, 17 October 2024 (Created page with "<includeonly>{{#invoke:Table list|main}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Table list/doc. [edit] [history] [purge]
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