Difference between revisions of "Template:Columns/doc"
From Cantr II Wiki
m (→Examples) |
|||
| Line 105: | Line 105: | ||
* Item P | * Item P | ||
* Item Q | * Item Q | ||
| − | * Item | + | * Item R |
}} | }} | ||
</pre> | </pre> | ||
| Line 126: | Line 126: | ||
* Item P | * Item P | ||
* Item Q | * Item Q | ||
| − | * Item | + | * Item R |
}} | }} | ||
|} | |} | ||
Revision as of 20:37, 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
}}
|
|