Difference between revisions of "Template:Div col"
From Self-sufficiency
(remove {{pp-template}}) |
m (1 revision imported) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div | + | <includeonly><div class="div-col columns <!-- |
+ | -->{{#if: {{{colwidth|{{{2|}}}}}} | ||
+ | | column-width | ||
+ | | column-count column-count-{{{cols|{{#if:1|{{{1|2}}}}}}}} }}" style="<!-- | ||
+ | -->{{#if: {{{colwidth|{{{2|}}}}}} | ||
+ | | {{column-width|{{{colwidth|{{#if:1|{{{2}}}}}}}}}} | ||
+ | | {{column-count|{{{cols|{{#if:1|{{{1|2}}}}}}}}}} }} <!-- | ||
+ | -->{{#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_"|ignoreblank=y| 1 | 2 | cols | colwidth | content | gap | rules | small | style }}<!-- | ||
+ | -->{{main other|{{#if: {{{cols|}}}{{{1|}}}{{{2|}}}|[[Category: Pages using div col with deprecated parameters]]|}}{{#if:{{{cols|}}}{{{colwidth|}}}{{{1|}}}{{{2|}}}||[[Category:Pages using div col without cols and colwidth parameters]]}}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 20:57, 17 February 2018
[edit]
Documentation