Difference between revisions of "Template:Columns-list"
(new columns template that autosorts into templates to keep consistent length etc, makes use of -moz and -webkit attributes, will see if it works out.) |
m (Improve doc) |
||
(4 intermediate revisions by 3 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}} | |
− | + | {{Wikipedia doc}} | |
− | [[Category:Formatting templates]] | + | {{Doc begin}} |
+ | |||
+ | Splits text into a number of columns as defined by the first parameter. Used to make long lists of | ||
+ | |||
+ | <pre> | ||
+ | {{Columns-list|2| | ||
+ | * A | ||
+ | * B | ||
+ | * C | ||
+ | * D | ||
+ | * E | ||
+ | * F | ||
+ | }}</pre> | ||
+ | produces: | ||
+ | |||
+ | {{Columns-list|2| | ||
+ | * A | ||
+ | * B | ||
+ | * C | ||
+ | * D | ||
+ | * E | ||
+ | * F | ||
+ | }} | ||
+ | [[Category:Formatting templates|Columns-list]] | ||
</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. |