Template:Div col: Difference between revisions
Appearance
Created page with "<includeonly><templatestyles src="Div col/styles.css"/><!-- --><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}}" <!-- -->{..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly | <includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!-- | ||
-->{{#if: {{{gap|}}} | |||
-->{{#if:{{{ | | {{column-gap|{{{gap}}}}} }}<!-- | ||
--> | -->{{#switch: {{{rules|}}} | ||
| = <!--empty--> | |||
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes | | yes = {{column-rule}} | ||
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}} | | {{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}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 15:05, 2 February 2021
{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Div col with unknown parameter "_VALUE_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }} Template:Documentation