From WikiChip
Difference between revisions of "Template:collist"

 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="wiki-ul-col{{{count|3}}} ul" style="display: inline-block; {{#if:{{{width|}}}|width:{{{width}}};}}{{#if:{{{center|}}}|margin-left: auto; margin-right: auto;}}{{{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>

Latest revision as of 21:51, 19 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