Template:Table list
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 | ||
---|---|---|
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 |
{{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 | ||||||
---|---|---|---|---|---|---|
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 |