「Template:Tmbox/core」の版間の差分
削除された内容 追加された内容
{{{imageright}}}未指定時に{{{imageright-file}}}の指定があっても右側画像が表示されない状態だったのを表示できるように修正 |
編集の要約なし |
||
13行目:
| <!-- 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">
{{#if:{{{image
|
| [[Image:{{#
| delete = Imbox deletion.png
| style
| move
| notice
| #default
}} | {{#ifeq:{{{small|}}}|yes|30x30px|40x40px}}|link=|alt=]]
▲ | #default = Imbox notice.png
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}">
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. -->
| <td class="mbox-imageright">
}}
}}
</tr>
52 ⟶ 45行目:
| protection
| notice = <!-- Do nothing, valid "type" -->
| #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|{{
}}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
|