Template:Columns-list: Difference between revisions
Appearance
No edit summary |
Tag: Undo |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="columns-list" style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}}; }}{{#if:{{{columns|}}}|column-count: {{{columns}}}; }}column-gap: {{{gap|normal}}};"> | ||
<div class="columns-list" style="column- | |||
{{{content}}} | {{{content}}} | ||
</div> | </div></includeonly> | ||
</includeonly> | |||
<noinclude>{{Documentation}} | <noinclude>{{Documentation}} | ||
<pre> | <pre> | ||
{{Columns-list | {{Columns-list | ||
|columns = (can be any number; optimal under 5) | |columns = 4 (can be any number; optimal under 5) | ||
|colwidth = 10em | |colwidth = 10em | ||
|content = | |content = | ||
* | * (item 1) | ||
* | * (item 2) | ||
* | * (item 3) | ||
... | ... | ||
}} | }} | ||
Revision as of 08:38, 25 May 2024
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
{{Columns-list
|columns = 4 (can be any number; optimal under 5)
|colwidth = 10em
|content =
* (item 1)
* (item 2)
* (item 3)
...
}}