「テンプレート:Dmbox/sandbox」の版間の差分

提供: Yourpedia
移動: 案内検索
(有効な条件文を戻す)
(Game-M (会話) の編集 ( 66762 版 ) を取り消し。修正ミス)
9行目: 9行目:
 
}}" style="{{{style|}}}">
 
}}" style="{{{style|}}}">
 
<tr>
 
<tr>
{{#ifeq:{{{image|}}}|none
+
<td class="mbox-image" style="padding:2px 0 2px 0.4em">
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell" style="border:none; padding:0px; width:1px"></td>
+
| <td class="mbox-image" style="padding:2px 0 2px 0.4em">
+
 
   {{#if:{{{image-file|}}}
 
   {{#if:{{{image-file|}}}
 
   | [[画像:{{{image-file}}}|{{#if:{{{image-size|}}}|{{{image-size}}}|30}}px]]
 
   | [[画像:{{{image-file}}}|{{#if:{{{image-size|}}}|{{{image-size}}}|30}}px]]
19行目: 17行目:
 
     }}
 
     }}
 
   }}</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日 (火) 16:48時点における版

ここは、テンプレート:Dmbox/sandboxテンプレート・サンドボックスです。対応するテストケース・サブページもご覧ください。

{{#if:

|

}}

{{#switch:

| | 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 =

}}

 }}