From WikiChip
Difference between revisions of "Template:collist"

Line 1: Line 1:
<includeonly><div class="wiki-ul-col{{{count|3}}} ul" style="{{#if:{{{width|}}}|width:{{{width}}};}}{{#if:{{{center|}}}|margin-left: auto; margin-right: auto;}}{{{style|}}}">
+
<includeonly><div class="wiki-ul-col{{{count|3}}} ul" style="{{{style|}}}">
 
{{{1}}}
 
{{{1}}}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>

Revision as of 16:16, 10 July 2017

Converts a list to columns:

{{collist
| count = 3
| width = XXX (optional)
| style = XXX (optional)
|
* AA
* BB 
* CC
* DD
* EE
* FF
* GG
* HH
}}
  • AA
  • BB
  • CC
  • DD
  • EE
  • FF
  • GG
  • HH