Template:Div col: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(format + fix) |
(add unnamed {{{2}}} parameter for colwidth, for shorthand use ({{div col||10em}} rather than {{div col|colwidth=10em}}) / move unnamed parameters to inside the named ones, to make reading easier) |
||
Line 1: | Line 1: | ||
<includeonly><div class="<!-- |
<includeonly><div class="<!-- |
||
-->{{#if: {{{colwidth|}}} |
-->{{#if: {{{colwidth|{{{2|}}}}}} |
||
| column-width |
| column-width |
||
| column-count column-count-{{{ |
| column-count column-count-{{{cols|{{{1|2}}}}}} }}" style="<!-- |
||
-->{{#if: {{{colwidth|}}} |
-->{{#if: {{{colwidth|{{{2|}}}}}} |
||
| {{column-width|{{{colwidth}}}}} |
| {{column-width|{{{colwidth|{{{2}}}}}}}} |
||
| {{column-count|{{{ |
| {{column-count|{{{cols|{{{1|2}}}}}}}} }} <!-- |
||
-->{{#if: {{{rules|}}} |
-->{{#if: {{{rules|}}} |
||
| {{#ifeq:{{{rules}}}|yes |
| {{#ifeq:{{{rules}}}|yes |