From WikiChip
Difference between revisions of "Template:collist"

Line 1: Line 1:
<includeonly><div class="wiki-ul-col{{{count|3}}} ul" style="display: inline-block; {{{style|}}}">
+
<includeonly><div class="wiki-ul-col{{{count|3}}}{{#if: {{{no-list-type}}}|wiki-ul-nostyle}}" style="display: inline-block; {{{style|}}}">
 
{{{1}}}
 
{{{1}}}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>

Revision as of 22:27, 18 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