Template:Columns: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
|<div class="columns" style="column-count:{{{1}}};-moz-column-count:{{{1}}};-webkit-column-count:{{{1}}}; {{#if:{{{width|}}}|width: {{{width}}};}}"> | |<div class="columns" style="column-count:{{{1}}};-moz-column-count:{{{1}}};-webkit-column-count:{{{1}}}; {{#if:{{{width|}}}|width: {{{width}}};}}"> | ||
{{{2}}} | {{{2}}} | ||
</div | </div> | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Revision as of 08:56, March 11, 2022
Info
Use this to split a list of items into columns. You can have the content be split automatically or split it yourself. Manual should only be used in cases where automatic wouldn't work right.
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
1 | Yes |
| |
2 | Yes |
| |
3 | Depends |
| |
4, 5 | No |
| |
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 }} |
| ||
{{columns|0|'''Number team''' *Item 1 *Item 2 *Item 3 |'''Column team''' *Item 4 *Item 5 *Item 6 }} |
|