Template:Div col: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(add optional class parameter for e.g. plainlist nowrap) |
|||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Div col/styles.css"/><!-- |
<includeonly><templatestyles src="Div col/styles.css"/><!-- |
||
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}}" <!-- |
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- |
||
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- |
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- |
||
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- |
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- |