Template:MultiColumn: Difference between revisions

From Terra Invicta Official Wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><div style="{{#if:{{{w|}}}|width:{{{w|}}};}} columns:{{{3|100px}}} {{{2|3}}}; column-gap: {{{4|10px}}};-webkit-columns:{{{3|100px}}} {{{2|3}}}; -webkit-column-gap: {{{4|10px}}};-moz-columns:{{{3|100px}}} {{{2|3}}}; -moz-column-gap: {{{4|10px}}};">{{{1}}}</div></includeonly>
<includeonly><div style="{{#if:{{{w|}}}|width:{{{w|}}};}} columns:{{{1|300px}}} {{{2|3}}}; column-gap: {{{4|10px}}};-webkit-columns:{{{3|100px}}} {{{2|3}}}; -webkit-column-gap: {{{4|10px}}};-moz-columns:{{{3|100px}}} {{{2|3}}}; -moz-column-gap: {{{4|10px}}};">{{{1}}}</div></includeonly>


<noinclude>
<noinclude>

Latest revision as of 11:50, 16 September 2022


Usage

{{MultiColumn|

<!-- content here-->

|3|100px|10px}}

Where:

  • 3 = number of columns (optional; default)
  • 100px = width of columns (optional; default)
  • 10px = gap between columns (optional; default)