Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:Columns"

From Paragon Wiki Archive
Jump to: navigation, search
m (Moved within heirarchy of categories)
 
Line 1: Line 1:
<includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly><noinclude>{{Documentation|content=
+
<includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly><noinclude>{{Documentation}}</noinclude>
Use this to make a block of text show up as being in multiple columns. Useful for long lists with short items.
+
 
+
Usage:
+
 
+
<nowiki>{{</nowiki>columns{{!}}''number of columns''{{!}}
+
''text (usually a list)''
+
<nowiki>}}</nowiki>
+
[[Category:Formatting Templates]]
+
}}</noinclude>
+

Latest revision as of 19:08, 17 December 2011

[edit] [purge] Documentation

Usage

Use this to make a block of text show up as being in multiple columns. Useful for long lists with short items.

{{columns|number of columns|
text (usually a list)
}}

This does not work on some browsers, including MS Internet Explorer. Do not use this template in places where multiple columns are required. Use it only in places that would still work with a single column, but benefit from multiple columns when they are available.

Examples

{{columns|2|
* A
* B
* C
* D
* E
* F
}}
  • A
  • B
  • C
  • D
  • E
  • F
{{columns|3|
* A
* B
* C
* D
* E
* F
}}
  • A
  • B
  • C
  • D
  • E
  • F