Template:Columns

Da Fuoco Nero.
Versione del 15 lug 2015 alle 20:28 di Stinogoal (Discussione | contributi) (Creata pagina con "<includeonly>{{#if: {{{count|}}}{{{style|}}} | <div style="-moz-column-count:{{{count|2}}}; -webkit-column-count:{{{count|2}}}; column-count:{{{count|2}}}; {{#if: {{{style|}}}...")

(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)


Divides list or text into columns automatically(no need to count and dived into table cells and then re-count and re-dived if new info is added to the list).


Usage, {{Columns|# of columns| list or text}} For example if you need to break the list bellow into 3 columns:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Simply type:

{{Columns|2|
* 1
* 2 
* 3 
* 4 
* 5 
* 6
}}

Result: {{#if:

|
{{{data}}}
|
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
}}


For additional options/parameters use this: (If needed more functionalty will be added

{{Columns|count=2
|style=css style (color/width/text fonts,size etc..
|data =
...
your text/list/etc
...
}}