Template:Col-list/doc
A template for making columned lists.
Usage
{{ col-list | pos=start | init=... | type=... | lst=... | listitem | listitem | listitem |...}}
{{ col-list | init=... | type=... | lst=... | listitem | listitem | listitem |...}}
{{ col-list | pos=end | init=... | type=... | lst=... | listitem | listitem | listitem |...}}
Use one instance of this template for each column in the list. The first column should have the value of the 'pos' parameter set to 'start' and the last column should have it set to 'end'. the initial values for ordered lists need to be set by hand.
Currently the template supports a maximum of 50 entries per column. It can be easily expanded, however. Leave a note on the talk page if you require more entries.
Parameters
The template takes the following parameters:
- pos: determines whether this is a first, last or middle column. Use 'start' for the first colmn, 'end' for the last column, and leave it blank for a middle column.
- type: 'ol' for an ordered list, 'ul' for an unordered list. defaults to 'ol'
- init: for ordered lists, the initial value for a given column
- lst: list style type. the valid CSS values are currently disc, circle, square, decimal, decimal-leading-zero, lower-roman, upper-roman, lower-greek, lower-latin, upper-latin, armenian, georgian, lower-alpha, upper-alpha, and none (appropriate to the type of list). defaults to decimal for ordered lists and square for unordered lists
Example
Code | Produces | |||
---|---|---|---|---|
{{col-list|pos=start|A|B|C|D}} {{col-list|init=5|E|G|G|H}} {{col-list|pos=end|init=9|I|J|K|L|M}} |
| |||
{{col-list|pos=start|lst=lower-roman|A|B|C|D}} {{col-list|lst=lower-roman|init=5|E|G|G|H}} {{col-list|pos=end|lst=lower-roman|init=9|I|J|K|L|M}} |
| |||
{{col-list|type=ul|pos=start|lst=circle|A|B|C|D}} {{col-list|type=ul|E|G|G|H}} {{col-list|type=ul|pos=end|lst=disc|init=5|I|J|K|L|M}} |
|
Different list style types are not supported on Wikishire for unordered lists.
See also
- {{div col}}
- {{columns}}
- Template:Columns-list
- {{Col-begin}} ({{Col-start}}), {{Col-begin-small}} Template:Lts/
- {{Col-break}}
- {{Col-2}} ({{Col-1-of-2}}, {{Col-2-of-2}})
- {{Col-3}} ({{Col-1-of-3}}, {{Col-2-of-3}}, {{Col-3-of-3}})
- {{Col-4}} ({{Col-1-of-4}}, {{Col-2-of-4}}, {{Col-3-of-4}}, {{Col-4-of-4}})
- {{Col-5}} ({{Col-1-of-5}}, {{Col-2-of-5}}, {{Col-3-of-5}}, {{Col-4-of-5}}, {{Col-5-of-5}})
- {{Col-break}}
- {{Col-end}} ({{End}})
- {{Top}}, {{Mid}}, {{Bottom}}
- {{Columns-start}}, {{Column}}, {{Columns-end}} Template:Lts/
- {{Multicol}}, {{Multicol-break}}, {{Multicol-end}} Template:Lts/
- {{Div col}}, {{Div col end}} Template:Lts/