「テンプレート:Dmbox/sandbox」の版間の差分
提供: Yourpedia
								
												
				 (Template:Dmboxの2009年11月3日 (火) 04:21 (UTC) から一部複製)  | 
				 (正しく動作しない条件文を除去)  | 
				||
| 1行目: | 1行目: | ||
| − | <noinclude>{{Template sandbox notice}}</noinclude><table   | + | <noinclude>{{Template sandbox notice}}</noinclude><table style="{{{style|}}}">  | 
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
<tr>  | <tr>  | ||
| − | + | <td style="padding:2px 0 2px 0.4em">  | |
| − | + | ||
| − | + | ||
   {{#if:{{{image-file|}}}  |    {{#if:{{{image-file|}}}  | ||
   | [[File:{{{image-file}}}|{{#if:{{{image-size|}}}|{{{image-size}}}|30}}px]]  |    | [[File:{{{image-file}}}|{{#if:{{{image-size|}}}|{{{image-size}}}|30}}px]]  | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
   }}</td>  |    }}</td>  | ||
| − | |||
<td class="mbox-text" style="padding:0.25em 0.4em; font-style:normal; {{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td>  | <td class="mbox-text" style="padding:0.25em 0.4em; font-style:normal; {{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td>  | ||
{{#if:{{{imageright-file|}}}{{{imageright|}}}  | {{#if:{{{imageright-file|}}}{{{imageright|}}}  | ||
2009年12月15日 (火) 13:33時点における版
| ここは、テンプレート:Dmbox/sandboxのテンプレート・サンドボックスです。対応するテストケース・サブページもご覧ください。 | 
 {{#if:
 | [[File:{{{image-file}}}|{{#if:|{{{image-size}}}|30}}px]]
  }} | 
{{#if:| {{{text}}} }} | {{#if:|[[File:{{{imageright-file}}}|{{#if:|{{{image-size}}}|30}}px]]|{{{imageright}}}}} | 
| | 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 =
}}
}}