Template:Ambox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | |||
| serious = ambox-serious | |||
| content = ambox-content | |||
| style = ambox-style | |||
| merge = ambox-merge | |||
| notice = ambox-notice | |||
| #default = ambox-notice | |||
}}"> | |||
<tr> | |||
<td class="ambox-image"> | |||
{{#ifeq:{{{image}}}|none | |||
| | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> | ||
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | |||
|content = content | | serious = [[Image:Stop.png|40px]] | ||
|style = style | | content = [[Image:Important.png|40px]] | ||
| | | style = [[Image:Broom.png|40px]] | ||
| | | merge = [[Image:Merge-split.png|40px]] | ||
| notice = [[Image:Info.png|40px]] | |||
| blank = [[Image:No image.png]] | |||
| #default = {{{image|[[Image:Info.png|40px]]}}} | |||
}}</div> | |||
}}</td> | |||
<td class="ambox-text">{{{text}}}</td> | |||
<td class="ambox-image">{{#if:{{{imageright|}}}|<div style="width:52px;">{{{imageright}}}</div>}}</td> | |||
</tr> | |||
| | </table><noinclude> | ||
{{template doc}} | |||
<!-- Add categories and inter-wikis to the /doc subpage, not here! --> | |||
| | |||
{{ | |||
<!-- Add categories and | |||
</noinclude> | </noinclude> |
Revision as of 18:01, 28 October 2012
{{{text}}} |