Difference between revisions of "Template:Div col"
From MyDewetra World
(Blanked the page) |
(Initial Revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!-- | |
+ | -->{{#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}}} | ||
+ | </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}} | ||
+ | </noinclude> |
Revision as of 17:23, 21 June 2019
{{#invoke:Check for unknown parameters|check|unknown={{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template| | main | other }} }}
| main = | other | #default = }}|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}