Template:Div col: Difference between revisions
Jump to navigation
Jump to search
>Izno |
>Matt Fitzpatrick (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}}}}}"<!-- |