「テンプレート:Ombox/core」の版間の差分

1版
*>ぬまぶくろう
({{{imageright-size}}}→{{{imageright-size|40}}}(指定されていなかった{{{imageright-size}}}のdefault値を40pxとする))
(1版)
 
(6人の利用者による、間の7版が非表示)
7行目: 7行目:
| move      = ombox-move
| move      = ombox-move
| protection = ombox-protection
| protection = ombox-protection
| notice          <!-- notice = default -->
| notice           
| #default  = ombox-notice
| #default  = ombox-notice
}}" style="{{{style|}}}">
}}" style="{{{style|}}}">
31行目: 31行目:
   }}</td>
   }}</td>
}}
}}
<td class="mbox-text" style="{{{textstyle|}}}">{{{text}}}</td>
<td class="mbox-text" style="{{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none
40行目: 40行目:
     }}</td>
     }}</td>
   }}
   }}
| <!-- {{{imageright}}}指定なし&{{{imageright-file}}}指定あり -->{{#if:{{{imageright-file|}}}| <td class="mbox-imageright">[[画像:{{{imageright-file}}}|{{{imageright-size|40}}}px]]</td> }}
}}
}}
</tr>
</tr>