|
|
第1行: |
第1行: |
| <includeonly><templatestyles src="Div col/styles.css"/><!-- | | <includeonly>{{#if:{{{2|}}}{{{1|}}}|{{div col |
| --><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!--
| | | cols = {{#if:{{{2|}}}|{{{1|}}}|{{{cols|}}}}} |
| -->{{#if:{{{colwidth|{{{2|}}}}}}{{{cols|{{{1|}}}}}}{{{gap|}}}{{{style|}}}|<!--
| | | colwidth = {{{colwidth|auto}}} |
| -->style="{{#if:{{{colwidth|{{{2|}}}}}}{{{cols|{{{1|}}}}}}|column-width:{{#if:{{{cols|{{{1|}}}}}}|{{{colwidth|{{{2|auto}}}}}}|{{{colwidth|{{{2|}}}}}}}}; column-count:{{#if:{{{colwidth|{{{2|}}}}}}|{{{cols|{{{1|auto}}}}}}|{{{cols|{{{1|}}}}}}}};}} {{#if:{{{gap|}}}|column-gap:{{{gap}}};}} {{#if:{{{style|}}}|{{{style}}}}}"<!--
| | | rules = {{{rules|}}} |
| -->}}><!--
| | | small = {{{small|}}} |
| -->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes
| | | style = {{{style|}}} |
| --><!--{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}--><!--
| | | content = {{#if:{{{cols|}}}|{{{1|}}}|{{{2|{{{1|}}}}}}}} |
| --></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>
| | }}}}</includeonly><noinclude> |
| {{Documentation}} | | {{documentation}} |
| </noinclude> | | </noinclude> |