19,358
edits
m (+cat) |
(updated for modern browsers (moz- and webkit- no longer needed), and changed template to fully enclose the multi-column text in a div tag instead of only supplying the style for a manual div tag) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div style="column-count:{{{1|2}}};>{{{2}}}</div></includeonly><noinclude> | ||
This template displays text in the number of columns specified, or two columns by default | This template displays text in the number of columns specified, or two columns by default. Typically used for styling reference lists (citations) in articles, because it makes wide lines of text shorter and thus easier to read. | ||
Sample usage: <tt><nowiki>{{Columns|3|Many lines of text go here, or a call to {{Reflist}}.}}</nowiki></tt> | |||
[[Category:Basic formatting templates]] | [[Category:Basic formatting templates]] | ||
</noinclude> | </noinclude> |