Template:Cols: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (Text replacement - "includeonly" to "onlyinclude")
m (Text replacement - "templates" to "Templates")
 
Line 1: Line 1:
<onlyinclude><div class="nomobile" style="-moz-column-count: {{{1}}}; -webkit-column-count: {{{1}}}; column-count: {{{1}}};">{{{2}}}</div><div class="mobileonly">{{{2}}}</div></onlyinclude><noinclude>
<onlyinclude><div class="nomobile" style="-moz-column-count: {{{1}}}; -webkit-column-count: {{{1}}}; column-count: {{{1}}};">{{{2}}}</div><div class="mobileonly">{{{2}}}</div></onlyinclude><noinclude>
{{doc}}
{{doc}}
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting Templates]]</noinclude>

Latest revision as of 21:53, 22 August 2022

{{{2}}}
{{{2}}}
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.