Difference between revisions of "Template:Columns/doc"
From Cantr II Wiki
m (→Examples) |
m (→Examples) |
||
| Line 21: | Line 21: | ||
== Examples == | == Examples == | ||
| − | {| style="width:100%" border="1" cellpadding="2" | + | {| style="width:100%; background-color:#ECFCF4" border="1" cellpadding="2" |
! Code || Result | ! Code || Result | ||
|- | |- | ||
Latest revision as of 20:38, 18 May 2010
{{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
}}
|
|
{{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
}}
|
|
{{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
}}
|
|