Template:Div col: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(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)
m (67 revisions imported from wikipedia:Template:Div_col)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="div-col columns column-width" style="{{column-width|{{{colwidth|30em}}}}} <!--
<includeonly><templatestyles src="Div col/styles.css"/><!--
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
-->{{#if: {{{gap|}}}
| {{column-gap|{{{gap}}}}} }}<!--
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!--
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!--
-->{{#switch: {{{rules|}}}
-->}}><!--
| = <!--empty-->
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
| 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 | class | colwidth | content | gap | rules | small | style }}<noinclude>
-->{{#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_"; use colwidth= to specify column size |ignoreblank=y | colwidth | content | gap | rules | small | style }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 14:45, January 21, 2022