Template:Ambox/core: Difference between revisions
(restoring the page before it was spammed) |
(t) |
||
Line 1: | Line 1: | ||
{{#switch:{{{small|}}} | <table class="metadata plainlinks ambox {{#switch:{{{small|}}} | ||
{{#switch:{{{type|}}} | | left = mbox-small-left | ||
}} {{#switch:{{{type|}}} | |||
| speedy = ambox-speedy | | speedy = ambox-speedy | ||
| delete = ambox-delete | | delete = ambox-delete | ||
Line 9: | Line 10: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = ambox-notice | | #default = ambox-notice | ||
}}{{{class|}}} | }} {{{class|}}}" style="{{grey border}} {{{style|}}}"> | ||
" style=" | <tr> | ||
{{grey border}}{{{style|}}} | |||
{{#switch:{{{image|}}} | {{#switch:{{{image|}}} | ||
| blank <!-- Fall back to "none", since deprecated. --> | | blank <!-- Fall back to "none", since deprecated. --> | ||
Line 42: | Line 41: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style="{{{textstyle|}}}; vertical-align:middle;"> {{{text}}} {{#if:{{{date|}}} | |||
|<small>''({{{date}}})''</small> | |||
}}</td> | |||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| {{#ifeq:{{{imageright|}}}|none | | {{#ifeq:{{{imageright|}}}|none | ||
Line 50: | Line 52: | ||
}}</td> | }}</td> | ||
}} | }} | ||
}} | }} | ||
</tr> | |||
<!-- | </table><!-- | ||
Detect and report usage with faulty "type" parameter: | Detect and report usage with faulty "type" parameter: | ||
-->{{#switch:{{{type|}}} | -->{{#switch:{{{type|}}} |