w:c:strategywiki>Prod (increase to 150px minimum) |
w:c:strategywiki>Prod (separate the examples) |
||
Line 4: | Line 4: | ||
;Examples | ;Examples | ||
Simple two-column list: | Simple two-column list: | ||
<pre>{{listcol|list= | <pre>{{listcol|list= | ||
Line 16: | Line 15: | ||
# three | # three | ||
#four}} | #four}} | ||
Three-column list: | Three-column list: | ||
<pre>{{listcol|3|list= | <pre>{{listcol|3|list= | ||
Line 26: | Line 25: | ||
# two | # two | ||
# three}} | # three}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 03:17, 4 May 2021
This template splits lists up into even columns, which is handy for ordered lists. The first unnamed parameter is optional and is for setting the number of columns. If omitted, the list will be split into two columns by default. The mandatory parameter |list=
takes the list.
- Examples
Simple two-column list:
{{listcol|list= # one # two # three # four}}
- one
- two
- three
- four
Three-column list:
{{listcol|3|list= # one # two # three}}
- one
- two
- three