Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Div col: Difference between revisions

Template page
Created page with '<includeonly><div class="div-col columns <!-- -->{{#if: {{{colwidth|{{{2|}}}}}} | column-width | column-count column-count-{{{cols|{{#if:1|{{{1|2}}}}}}...'
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="div-col columns <!--
<templatestyles src="Div col/styles.css"/><div class="div-col {{#ifeq: {{{small|}}} | yes
-->{{#if: {{{colwidth|{{{2|}}}}}}
  | div-col-small
    | column-width
  }} {{#ifeq: {{{rules|}}} | yes
    | column-count column-count-{{{cols|{{#if:1|{{{1|2}}}}}}}} }}" style="<!--
  |div-col-rules
-->{{#if: {{{colwidth|{{{2|}}}}}}
  }} {{{class|}}}" <!--
     | {{column-width|{{{colwidth|{{#if:1|{{{2}}}}}}}}}}
-->{{#if: {{{cols|}}}{{{1|}}}{{{colwidth|}}}{{{2|}}}{{{gap|}}}{{{style|}}}
     | {{column-count|{{{cols|{{#if:1|{{{1|2}}}}}}}}}} }} <!--
| style="{{#if: {{{cols|}}}{{{1|}}}
-->{{#if: {{{gap|}}}
  | -moz-column-count:{{#if: {{{cols|}}}
     | {{column-gap|{{{gap}}}}} }}<!--
     | {{{cols|}}}
-->{{#switch: {{{rules|}}}
    | {{{1|}}}
     | = <!--empty-->
    }};-webkit-column-count:{{#if: {{{cols|}}}
     | yes = {{column-rule}}
    | {{{cols|}}}
     | {{Column-rule|{{{rules}}}}} }} <!--
    | {{{1|}}}
-->{{#ifeq: {{{small|}}}|yes
     }};column-count:{{#if: {{{cols|}}}
    | font-size:90%; }} <!--
    | {{{cols|}}}
-->{{#if: {{{style|}}}
    | {{{1|}}}
    | {{{style}}} }}"><!--
    }};
-->{{#if: {{{content|}}}
  }}{{#if: {{{colwidth|}}}{{{2|}}}
    |{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
  | -moz-column-width:{{#if: {{{colwidth|}}}
-->{{#ifeq: {{{small|}}}|yes
     | {{{colwidth|}}}
    |[[Category:Pages using div col with small parameter]]}}</includeonly><noinclude>
    | {{{2|}}}
{{Documentation}}
    }};-webkit-column-width:{{#if: {{{colwidth|}}}
</noinclude>
     | {{{colwidth|}}}
     | {{{2|}}}
    }};column-width:{{#if: {{{colwidth|}}}
     | {{{colwidth|}}}
    | {{{2|}}}
    }};
  }}{{#if: {{{gap|}}}
  | -moz-column-gap:{{{gap|}}};-webkit-column-gap:{{{gap|}}};column-gap:{{{gap|}}};
  }}{{#switch: {{{rules|}}}
  ||yes=
  |#default=-moz=column-rule:{{{rules|}}};-webkit-column-rule:{{{rules|}}};column-rule:{{{rules|}}};
  }}{{{style|}}}"
}}><!-- Inventory how many pages use small=yes
-->{{#ifeq: {{{small|}}} | yes
| [[Category:Pages using div col with small parameter]]
}}<!-- Inventory how many pages use content=*
-->{{#if: {{{content|}}}
| {{{content|}}}</div>[[Category:Pages using div col with content parameter]]
}}<!--
--><noinclude>{{Div col end}}{{Documentation}}</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.