更改
跳到导航
跳到搜索
第1行:
第1行:
− +
− -->{{#if: {{{gap|}}}+
− | {{column-gap|{{{gap}}}}} }}<!--+
− -->{{#switch: {{{rules|}}}+
− | = <!--empty-->+
− | yes = {{column-rule}}+
− | {{Column-rule|{{{rules}}}}} }} <!--+
− -->{{#ifeq: {{{small|}}}|yes+
− | font-size:90%; }} <!--
− -->{{#if: {{{style|}}}
− | {{{style}}} }}"><!--
− -->{{#if: {{{content|}}}
− |{{{content}}}
−
− -->{{#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>
whitelist parameter class
<includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!--
<includeonly><templatestyles src="Div col/styles.css"/><!--
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!--
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#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 | class | colwidth | content | gap | rules | small | style }}<noinclude>
</div>}}<!-- Inventory how many pages use small=yes
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>