Difference between revisions of "Template:Cols"

From ThresholdRPG Wiki
m (1 revision imported)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><div class="nomobile" style="-moz-column-count: {{{1}}}; -webkit-column-count: {{{1}}}; column-count: {{{1}}};">{{{2}}}</div><div class="mobileonly">{{{2}}}</div></includeonly><noinclude>
+
<includeonly>
 +
<div class="nomobile" style="column-count:{{{1}}};-moz-column-count:{{{1}}};-webkit-column-count:{{{1}}}">
 +
</includeonly>
 +
<noinclude>
 
{{doc}}
 
{{doc}}
[[Category:Formatting templates|{{PAGENAME}}]]</noinclude>
+
[[Category:Formatting templates|{{PAGENAME}}]]
 +
</noinclude>

Latest revision as of 18:12, 18 July 2021


{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Template-info.png Documentation

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.