Template:Div col: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Nominated for merging with Template:Palmares start; see Wikipedia:Templates for discussion/Log/2018 January 15#Template:Palmares start. (TW)) |
m (67 revisions imported from wikipedia:Template:Div_col) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Div col/styles.css"/><!-- |
|||
<noinclude>{{Tfm/dated|page=Div col|otherpage=Palmares start|link=Wikipedia:Templates for discussion/Log/2018 January 15#Template:Div col|type=tiny|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}</noinclude><includeonly><div class="div-col columns <!-- |
|||
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- |
|||
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- |
|||
| column-width |
|||
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- |
|||
-->}}><!-- |
|||
-->{{#if: {{{colwidth|{{{2|}}}}}} |
|||
⚫ | |||
| {{column-width|{{{colwidth|{{#if:1|{{{2}}}}}}}}}} |
|||
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!-- |
|||
| {{column-count|{{{cols|{{#if:1|{{{1|2}}}}}}}}}} }} <!-- |
|||
⚫ | --></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 | class | colwidth | content | gap | rules | small | style }}<noinclude> |
||
-->{{#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|}}} |
|||
⚫ | |||
-->{{#ifeq: {{{small|}}}|yes |
|||
⚫ | |||
-->{{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> |