Template:Div col: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
m (1 revision imported)
(whitelist parameter class)
Line 1: Line 1:
<includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!--
<includeonly><templatestyles src="Div col/styles.css"/><!--
-->{{#if: {{{gap|}}}
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
    | {{column-gap|{{{gap}}}}} }}<!--
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!--
-->{{#switch: {{{rules|}}}
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!--
    | = <!--empty-->
-->}}><!--
    | yes = {{column-rule}}
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes  
    | {{Column-rule|{{{rules}}}}} }} <!--
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!--
-->{{#ifeq: {{{small|}}}|yes
--></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>
    | font-size:90%; }} <!--
-->{{#if: {{{style|}}}
    | {{{style}}} }}"><!--
-->{{#if: {{{content|}}}
    |{{{content}}}
</div>}}<!-- Inventory how many pages use small=yes  
-->{{#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 | colwidth | content | gap | rules | small | style }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 23:20, 14 February 2021