「テンプレート:Dmbox/sandbox」の版間の差分
提供: Yourpedia
細 (正しく動作しない条件文を除去) |
|||
| (同じ利用者による、間の3版が非表示) | |||
| 14行目: | 14行目: | ||
| {{#if:{{{image|}}} | | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| − | | [[画像:Disambig gray.svg|{{#if:{{{image-size|}}}|{{{image-size}}}|30}}px]] | + | | [[画像:{{#switch:{{{type|}}} |
| + | | setindex = List gray.svg | ||
| + | | disambig <!-- disambig = default --> | ||
| + | | #default = Disambig gray.svg | ||
| + | }}|{{#if:{{{image-size|}}}|{{{image-size}}}|30}}px]] | ||
}} | }} | ||
}} | }} | ||
| 25行目: | 29行目: | ||
| disambig | | disambig | ||
| setindex = <!-- Do nothing, valid "type" --> | | setindex = <!-- Do nothing, valid "type" --> | ||
| − | | #default = <div style="text-align:center | + | | #default = <div style="text-align:center">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{Main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> |
}}<!-- | }}<!-- | ||
-->{{{category|{{ | -->{{{category|{{ | ||
2009年12月23日 (水) 01:49時点における最新版
| ここは、テンプレート:Dmbox/sandboxのテンプレート・サンドボックスです。対応するテストケース・サブページもご覧ください。 |
{{#if:
| [[画像:{{{image-file}}}|{{#if:|{{{image-size}}}|30}}px]]
| {{#if:
| {{{image}}}
| [[画像:{{#switch:
| setindex = List gray.svg
| disambig
| #default = Disambig gray.svg
}}|{{#if:|{{{image-size}}}|30}}px]]
}}
}}
|
{{#if:| {{{text}}} }} |
| | disambig | setindex =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}{{
#switch:
| setindex =
{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:テンプレート|
| main
| other
}}
}}
| main =
| other | #default =
}}
| disambig
| #default =
{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:テンプレート|テンプレート
| template
| other
}}
}}
| template =
| other | #default =
}}{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:テンプレート|
| main
| other
}}
}}
| main =
| other | #default =
}}
}}