Templat:Div col: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
k
tidak ada ringkasan suntingan
dw>Matt Fitzpatrick (whitelist parameter class) |
dw>Rachmat04 kTidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
<includeonly><templatestyles src="Div col/styles.css"/><!-- | <includeonly><templatestyles src="Div col/styles.css"/><!-- | ||
--><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- | --><div class="div-col {{#ifeq:{{{small|}}}|yes|div-col-small}} {{#ifeq:{{{rules|}}}|yes|div-col-rules}} {{{class|}}}" <!-- | ||
-->{{#if:{{{colwidth|}}}{{{gap|}}}{{{style|}}}|<!-- | -->{{#if:{{{cols|{{{1|}}}}}}{{{colwidth|{{{2|}}}}}}{{{gap|}}}{{{style|}}}|<!-- | ||
-->style="{{#if:{{{colwidth|}}}|column-width: {{{colwidth}}};}}{{#if:{{{gap|}}}|column-gap: {{{gap}}};}}{{#if:{{{style|}}}|{{{style}}}}}"<!-- | -->style="{{#if:{{{cols|{{{1|}}}}}}|column-count:{{{cols|{{{1|}}}}}};}} {{#if:{{{colwidth|{{{2|}}}}}}|column-width:{{{colwidth|{{{2|}}}}}};}} {{#if:{{{gap|}}}|column-gap:{{{gap}}};}} {{#if:{{{style|}}}|{{{style}}}}}"<!-- | ||
-->}}><!-- | -->}}><!-- | ||
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes | -->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes | ||
-->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}} | -->{{#ifeq:{{{small|}}}|yes|[[Category:Pages using div col with small parameter]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |