Template:Div col: Difference between revisions
From Video Credit Archive
Content deleted Content added
imported>Izno |
imported>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}}}}}"<!-- |