Template:Div col: Difference between revisions
Content added Content deleted
m (1 revision imported: columns) |
(Move closing div to separate line to prevent strange list formatting. See https://en.wikipedia.org/w/index.php?title=Template_talk:Navbox&curid=12839040&diff=898399557&oldid=898394285) |
||
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 17: | Line 11: | ||
| {{{style}}} }}"><!-- |
| {{{style}}} }}"><!-- |
||
-->{{#if: {{{content|}}} |
-->{{#if: {{{content|}}} |
||
|{{{content}}} |
|{{{content}}} |
||
</div>}}<!-- Inventory how many pages use small=yes |
|||
-->{{#ifeq: {{{small|}}}|yes |
-->{{#ifeq: {{{small|}}}|yes |
||
|[[Category:Pages using div col with small parameter]]}}</includeonly><noinclude> |
|[[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> |