Template:Cols: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "includeonly" to "onlyinclude")
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>
<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>

Revision as of 23:16, 3 February 2021

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