「テンプレート:Div col」の版間の差分
細
「Template:Div col」の保護レベルを変更しました: Wikipedia:保護の方針#半永久的な保護「影響が特に大きいテンプレート」に基づき無期限拡張半保護 ([編集=拡張承認された利用者と管理者に許可] (無期限) [移動=拡張承認された利用者と管理者に許可] (無期限))
en>Matt Fitzpatrick (whitelist parameter class) |
ja>えのきだたもつ 細 (「Template:Div col」の保護レベルを変更しました: Wikipedia:保護の方針#半永久的な保護「影響が特に大きいテンプレート」に基づき無期限拡張半保護 ([編集=拡張承認された利用者と管理者に許可] (無期限) [移動=拡張承認された利用者と管理者に許可] (無期限))) |
||
| 1行目: | 1行目: | ||
<includeonly>< | <includeonly><div class="div-col columns <!-- | ||
--> | -->{{#if: {{{colwidth|{{{2|}}}}}} | ||
-->{{#if:{{{colwidth|}}}{{{ | | column-width | ||
--> | | column-count column-count-{{{cols|{{#if:{{{1|}}}|{{{1|2}}}}}}}} }}" style="<!-- | ||
-->{{#if: {{{colwidth|{{{2|}}}}}} | |||
-->{{#if:{{{content|}}}|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes | | {{column-count|auto}} {{column-width|{{{colwidth|{{{2}}}}}}}} | ||
-->{{#ifeq:{{{small|}}}|yes|[[Category: | | {{column-count|{{{cols|{{#if:{{{1|}}}|{{{1|2}}}}}}}}}} {{column-width|18em}} }} <!-- | ||
-->< | -->{{#if: {{{gap|}}} | ||
| {{column-gap|{{{gap}}}}} }}<!-- | |||
-->{{#switch: {{{rules|}}} | |||
| = <!--empty--> | |||
| yes = {{column-rule}} | |||
| {{Column-rule|{{{rules}}}}} }} <!-- | |||
-->{{#ifeq: {{{small|}}}|yes | |||
| font-size:90%; }} <!-- | |||
-->{{#if: {{{style|}}} | |||
| {{{style}}} }}"><!-- | |||
-->{{#if: {{{content|}}} | |||
|{{{content}}}</div>}}<!-- Inventory how many pages use small=yes | |||
-->{{#ifeq: {{{small|}}}|yes | |||
|[[Category:Div colで文字を小さくしているページ]]}}<!-- | |||
-->{{#iferror: {{#ifexpr: {{{1|1}}} > 1 }} | |<!-- | |||
-->{{#ifeq: {{{1|1}}}|3|[[Category:Div colで3列を指定しているページ]]}}<!-- | |||
-->{{#ifexpr: {{{1|1}}} > 3 | [[Category:Div colで4列以上を指定しているページ]]}} }}<!-- | |||
-->{{#if: {{{cols|}}} |<!-- | |||
-->{{#ifeq: {{{cols|}}}|3|[[Category:Div colで3列を指定しているページ]]}}<!-- | |||
-->{{#ifexpr: {{{cols|}}} > 3 | [[Category:Div colで4列以上を指定しているページ]]}} }}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||