Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<table | <table class="metadata plainlinks ambox | ||
{{#switch:{{{type|}}} | |||
| speedy = ambox-speedy | |||
| delete <!-- delete = serious --> | |||
| serious = ambox-delete | |||
| content = ambox-content | |||
| style = ambox-style | |||
}}"> | | move <!-- move = merge --> | ||
| merge = ambox-move | |||
| protection = ambox-protection | |||
| green = ambox-green | |||
| dkgreen = ambox-dkgreen | |||
| attention = ambox-attention | |||
| notice <!-- notice = default --> | |||
| #default = ambox-notice | |||
}}" style="{{{style|}}}"> | |||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | |||
{{#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> | ||
| <td class="ambox-image"><div style="width: 52px;"> | |||
{{#ifeq:{{{image|}}}|blank | |||
| serious | | | ||
| {{#if:{{{image|}}} | |||
| {{{image}}} | |||
| {{#switch:{{{type|}}} | |||
| speedy = [[Image:Realcty_logo_20060831.png|50px]] | |||
| delete | |||
| serious = [[Image:Realcty_logo_20060831.png|50px]] | |||
}}</div> | | content = [[Image:Realcty_logo_20060831.png|50px]] | ||
| style = [[Image:Realcty_logo_20060831.png|50px]] | |||
<td class="ambox-text">{{{text}}}</td> | | move | ||
{{#if:{{{imageright|}}}| | | merge = [[Image:Realcty_logo_20060831.png|50px]] | ||
| protection = [[Image:Realcty_logo_20060831.png|50px]] | |||
| green = [[Image:Realcty_logo_20060831.png|50px]] | |||
| dkgreen = [[Image:Realcty_logo_20060831.png|50px]] | |||
| attention = [[Image:Realcty_logo_20060831.png|50px]] | |||
| notice <!-- notice = default --> | |||
| #default = [[Image:Realcty_logo_20060831.png|50px]] | |||
}} | |||
}} | |||
}}</div></td> | |||
}} | |||
<td class="ambox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | |||
{{#if:{{{imageright|}}} | |||
| <td class="ambox-imageright"><div style="width: 52px;"> {{{imageright}}} </div></td> | |||
}} | }} | ||
</tr> | </tr> | ||
</table> | </table> | ||