Difference between revisions of "Template:Columns-list"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) (Creating new template) |
Dorsal Axe (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly><div {{#if: {{{colwidth|30em}}}| style="-moz-column-width:{{{colwidth|30em}}}; -webkit-column-width:{{{colwidth|30em}}}; column-width:{{{colwidth|30em}}};" | {{#if: {{{colcount|}}}| style="-moz-column-count:{{{colcount}}}; -webkit-column-count:{{{colcount}}}; column-count:{{{colcount}}} }};" |}}>{{{1}}} | + | <includeonly><div {{#if: {{{colwidth|30em}}}| style="-moz-column-width:{{{colwidth|30em}}}; -webkit-column-width:{{{colwidth|30em}}}; column-width:{{{colwidth|30em}}};" | {{#if: {{{colcount|}}}| style="-moz-column-count:{{{colcount}}}; -webkit-column-count:{{{colcount}}}; column-count:{{{colcount}}} }};" |}}> |
+ | {{{1}}} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 06:55, March 15, 2020
Template documentation (view)
Usage
{{Columns-list|colwidth=|colcount=|<content>}}
This template is based off Template:Reflist and can be used to create responsive columns for content.
Parameter | Function |
---|---|
colwidth | Specify the minimum width at which to automatically adjust the amount of columns displayed |
colcount | Specify the number of columns to display |
<content> | The actual content you want to display |