Template:Div col and Template:Div col/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
whitelist parameter class |
No edit summary Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Div col/styles.css"/><!-- |
<includeonly><templatestyles src="Div col/sandbox/styles.css"/><!-- |
||
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- |
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{#ifeq:{{{allowbreak|}}}|yes|div-col-brk}} {{{class|}}}" <!-- |
||
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- |
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- |
||
-->style="{{#if:{{{colwidth|}}}|column-width: |
-->style="{{#if:{{{colwidth|}}}|column-width:{{{colwidth}}};}}{{#if:{{{cols|}}}|column-count:{{{cols}}};}}{{#if:{{{gap|}}}|column-gap:{{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- |
||
-->}}><!-- |
-->}}><!-- |
||
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes |
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes |
||
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!-- |
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!-- |
||
--></includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using div col with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Div col]] with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | class | colwidth | content | gap | rules | small | style }}<noinclude> |
--></includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using div col with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Div col]] with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | class | colwidth | content | gap | rules | small | style | allowbreak }}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |