Template:Cols: Difference between revisions
m 1 revision imported: PS to FS migration |
removed deprecated CSS classes, adapted nomobile and mobileonly compatibility from the original source |
||
Line 1: | Line 1: | ||
<includeonly><div class="nomobile" style=" | <includeonly><templatestyles src="Template:Cols/styles.css" /><div class="cols-nomobile" style="column-count: {{{1}}};">{{{2}}}</div><div class="cols-mobileonly">{{{2}}}</div></includeonly><noinclude> | ||
{{doc}} | {{/doc}} | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 17:20, 3 July 2025
This template formats the text into the specified number of columns.
Usage
{{cols|<# of columns>|<content>}}
Especially useful to wrap long lists of items into multiple columns.
Source
This Template is adapted from Book of Travelers wiki - Template:Cols (Rev.: 12 September 2019) Retrieved 3 July 2025