Template:Div col: Difference between revisions
From Video Credit Archive
Content added Content deleted
imported>Jonesey95 (Add deprecated parameter tracking for templates. I thought I had found them all, but I just found five more.) |
imported>Jonesey95 (Update from sandbox; see talk page) |
||
Line 1: | Line 1: | ||
<includeonly><div class="div-col columns <!-- |
<includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!-- |
||
-->{{#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|}}} |
-->{{#if: {{{gap|}}} |
||
| {{column-gap|{{{gap}}}}} }}<!-- |
| {{column-gap|{{{gap}}}}} }}<!-- |
||
Line 19: | Line 13: | ||
|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes |
|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes |
||
-->{{#ifeq: {{{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_" |
|[[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> |
||
-->{{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]]}}}}{{template other|{{#if: {{{cols|}}}{{{1|}}}{{{2|}}}|[[Category:Pages using div col with deprecated parameters|∑]]|}}}}<noinclude> |
|||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 11:04, 12 July 2018
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |