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

1版
*>ぬまぶくろう
({{{image-size}}}→{{{image-size|40}}}(2つ下の編集で削除されていた{{{image-size}}}のdefault値を復活、参考:Template:Ambox))
(1版)
 
(6人の利用者による、間の8版が非表示)
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
   | <!-- No image. -->
   | <!-- No image. -->
   | <td class="mbox-imageright"> {{#if:{{{imageright-file|}}}
   | <td class="mbox-imageright"> {{#if:{{{imageright-file|}}}
     | [[画像:{{{imageright-file}}}|{{{imageright-size}}}px]]
     | [[画像:{{{imageright-file}}}|{{{imageright-size|40}}}px]]
     | {{{imageright}}}
     | {{{imageright}}}
     }}</td>
     }}</td>
   }}
   }}
| <!-- {{{imageright}}}指定なし&{{{imageright-file}}}指定あり -->{{#if:{{{imageright-file|}}}| <td class="mbox-imageright">[[画像:{{{imageright-file}}}|{{{imageright-size|40}}}px]]</td> }}
}}
}}
</tr>
</tr>