Template:Columns/doc

From Cantr II Wiki
Revision as of 20:37, 18 May 2010 by Altotn (talk | contribs) (Examples)

Jump to: navigation, search

{{Columns}} provides an easy way to create multi-colums lists.

Usage

Put the following code in the article being created. Replacing "X" by the number of desired columns. And replacing "Item A", "Item B"... by the actual list.

{{Columns|X|
* Item A
* Item B
* Item C
* Item D
* Item E
* Item F
* Item G
* Item H
* Item I
* Etc.
}}

Examples

Code Result
{{Columns|2|
* Item A
* Item B
* Item C
* Item D
* Item E
* Item F
* Item G
* Item H
* Item I
}}
  • Item A
  • Item B
  • Item C
  • Item D
  • Item E
  • Item F
  • Item G
  • Item H
  • Item I
{{Columns|3|
* Item A
* Item B
* Item C
* Item D
* Item E
* Item F
* Item G
* Item H
* Item I
* Item J
* Item K
* Item L
* Item M
* Item N
* Item O
}}
  • Item A
  • Item B
  • Item C
  • Item D
  • Item E
  • Item F
  • Item G
  • Item H
  • Item I
  • Item J
  • Item K
  • Item L
  • Item M
  • Item N
  • Item O
{{Columns|6|
* Item A
* Item B
* Item C
* Item D
* Item E
* Item F
* Item G
* Item H
* Item I
* Item J
* Item K
* Item L
* Item M
* Item N
* Item O
* Item P
* Item Q
* Item R
}}
  • Item A
  • Item B
  • Item C
  • Item D
  • Item E
  • Item F
  • Item G
  • Item H
  • Item I
  • Item J
  • Item K
  • Item L
  • Item M
  • Item N
  • Item O
  • Item P
  • Item Q
  • Item R