Template:Div col: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
67 revisions imported from wikipedia:Template:Div_col
(add unnamed {{{2}}} parameter for colwidth, for shorthand use ({{div col||10em}} rather than {{div col|colwidth=10em}}) / move unnamed parameters to inside the named ones, to make reading easier)
m (67 revisions imported from wikipedia:Template:Div_col)
 
(26 intermediate revisions by 8 users not shown)
Line 1:
<includeonly><divtemplatestyles classsrc="Div col/styles.css"/><!--
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
-->{{#if: {{{colwidth|}}}{{{2gap|}}}{{{style|}}}|<!--
| column-width
-->style="{{#if:{{{colwidth|}}}| column-countwidth: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-count-gap: {{{cols|gap}}};}}{{#if:{1{{style|2}}}|{{{style}}} }}" style="<!--
-->}}><!--
-->{{#if: {{{colwidth|{{{2|}}}}}}
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
| {{column-width|{{{colwidth|{{{2}}}}}}}}
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}<!--
| {{column-count|{{{cols|{{{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: {{{rules|}}}
| {{#ifeq:{{{rules}}}|yes
| {{column-rule}}
| {{column-rule|{{{rules}}}}} }} }} <!--
-->{{#ifeq: {{lc:{{{small|}}}}}|yes
| font-size:90%; }} <!--
-->{{#if: {{{style|}}}
| {{{style}}} }}"></includeonly><noinclude>
{{Documentation}}
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu