Template:Columns: Difference between revisions
Jump to navigation
Jump to search
(Oh, this is a thing we can do. http://www.mediawiki.org/wiki/Help:Lists#Multi-column_lists) |
m (Picky.) |
||
Line 21: | Line 21: | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{columns|<cols> | {{columns|<cols>|<content>}} | ||
| | |||
<content> | |||
}} | |||
</pre> | </pre> | ||
Line 31: | Line 28: | ||
! Code || Result | ! Code || Result | ||
|- | |- | ||
| <pre>{{columns|2 | | <pre>{{columns|2|*Item 1 | ||
| | |||
*Item 1 | |||
*Item 2 | *Item 2 | ||
*Item 3 | *Item 3 | ||
Line 40: | Line 35: | ||
*Item 6 | *Item 6 | ||
}}</pre> | }}</pre> | ||
| {{columns|2 | | {{columns|2|*Item 1 | ||
| | |||
*Item 1 | |||
*Item 2 | *Item 2 | ||
*Item 3 | *Item 3 |
Revision as of 06:07, April 6, 2015
Info
Use this to split a list of items into columns.
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
1 | Yes | Number of columns. | |
2 | Yes | Content to be split. | |
width | No | How wide the entire box of content will be. |
Skeleton
{{columns|<cols>|<content>}}
Examples
Code | Result |
---|---|
{{columns|2|*Item 1 *Item 2 *Item 3 *Item 4 *Item 5 *Item 6 }} |
|