Template:Div col: Difference between revisions
From Video Credit Archive
Content deleted Content added
imported>Izno switch over to templatestyles |
imported>Izno |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Div col/styles.css"/> |
<includeonly><templatestyles src="Div col/styles.css"/><!-- |
||
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}}" <!-- |
|||
-->{{#if: {{{gap|}}} |
|||
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- |
|||
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- |
|||
-->{{#switch: {{{rules|}}} |
|||
-->}}><!-- |
|||
| = <!--empty--> |
|||
⚫ | |||
| yes = {{column-rule}} |
|||
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!-- |
|||
| {{Column-rule|{{{rules}}}}} }} <!-- |
|||
⚫ | --></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> |
||
-->{{#if: {{{style|}}} |
|||
| {{{style}}} }}"><!-- |
|||
-->{{#if: {{{content|}}} |
|||
|{{{content}}} |
|||
⚫ | |||
-->{{#ifeq: {{{small|}}}|yes |
|||
⚫ | |||
{{Documentation}} |
{{Documentation}} |
||
</noinclude> |
</noinclude> |