Open main menu
Changes
Template:Mbox
1,159 bytes added
,
10:48, 17 August 2008
note deprecated type values to prevent confusion
{{
<table class="metadata plainlinks ambox
{{
namespace detect
| demospace =
#switch:
{{{
demospace
type
|}}}
|
main
speedy = ambox-speedy
| delete <!-- this value is **deprecated**, please don't use it! -->
| serious = ambox-delete
| content
= ambox
-content
|
talk
style
=
tmbox
ambox-style
| move <!-- this value is **deprecated**, please don't use it! -->
|
image
merge
=
imbox
ambox-move
|
category
protection
=
cmbox
ambox-protection
|
other
notice
<!-- notice
=
ombox
default -->
| #default
= ambox-notice
}}
| type
" style
=
"
{{{
type
style
|}}}
">
<tr>
| image =
{{#ifeq:
{{{image|}}}
|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
|
imageright
<td class="ambox-image"><div style
=
"width: 52px;">
{{#ifeq:
{{{
imageright
image
|}}}
|blank
|
|
style =
{{#if:
{{{
style
image
|}}}
|
textstyle =
{{{
textstyle|
image
}}}
|
text =
{{#switch:
{{{
text
type|
}}}
| speedy = [[Image:Ambox speedy deletion.png|40x40px]]
| delete <!-- this value is **deprecated**, please don't use it! -->
| serious = [[Image:Ambox deletion.png|40x40px]]
| content = [[Image:Ambox content.png|40x40px]]
| style = [[Image:Ambox style.png|40x40px]]
| move <!-- this value is **deprecated**, please don't use it! -->
|
small
merge
=
[[Image:Ambox move.png|40x40px]]
| protection = [[Image:Ambox protection.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Ambox notice.png|40x40px]]
}}
}}
}}</div></td>
}}
<td class="ambox-text" style="
{{{
small
textstyle
|}}}
| smallimage =
">
{{{
smallimage|
text
}}}
</td>
| smallimageright =
{{#if:
{{{
smallimageright
imageright
|}}}|
smalltext
<td class="ambox-imageright"><div style
=
"width: 52px;">
{{{
smalltext|
imageright
}}}
</div></td>
}}
</tr>
</table>
<noinclude>
{{pp-template|small=yes}}
← Older edit
Newer edit →
Anonymous user
Happy-melon