Difference between revisions of "Template:Columns-list"
m |
m (Improve doc) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}};" }} }}>{{{2|{{{1|}}} }}}</div></includeonly><noinclude> | <includeonly><div {{#if: {{{colwidth|}}}| style="-moz-column-width:{{{colwidth}}}; -webkit-column-width:{{{colwidth}}}; column-width:{{{colwidth}}};" | {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}};" }} }}>{{{2|{{{1|}}} }}}</div></includeonly><noinclude> | ||
{{see also|Template:Columns}} | {{see also|Template:Columns}} | ||
− | + | {{Wikipedia doc}} | |
− | + | {{Doc begin}} | |
− | + | Splits text into a number of columns as defined by the first parameter. Used to make long lists of | |
− | <pre | + | |
+ | <pre> | ||
{{Columns-list|2| | {{Columns-list|2| | ||
− | * | + | * A |
− | * | + | * B |
− | * | + | * C |
− | * | + | * D |
− | * | + | * E |
− | * | + | * F |
− | + | }}</pre> | |
− | + | produces: | |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
{{Columns-list|2| | {{Columns-list|2| | ||
− | * | + | * A |
− | * | + | * B |
− | * | + | * C |
− | * | + | * D |
− | * | + | * E |
− | * | + | * F |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | [[Category:Formatting templates|Columns-list]] | |
− | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 02:25, 31 March 2016
See also: Template:Columns
Documentation for this template is available at Template:Columns-list on Wikipedia. |