Template:Mbox: Difference between revisions

restore to html syntax
(testing wikitable code, and changes of logic, do not kill me it if's not working)
(restore to html syntax)
Line 1:
{|<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
| serious = ambox-serious
| content = ambox-content
Line 6:
| notice = ambox-notice
| #default = ambox-notice
}}">
<tr>
|-
{{#ifeq:{{{image}}}|none
| <!-- no image cell -->
| {{!}}<td class="ambox-image" {{!}}> {{#switch:{{{image|{{{type|}}}}}}
| serious = [[Image:Stop hand nuvola.svg|40px]]
| content = [[Image:Emblem-important.svg|40px]]
Line 18:
| blank = <!-- empty image cell -->
| #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
}}</td>
}}
|<td> {{{text}}} </td>
{{#if:{{{imageright|}}}
| {{!}}<td class="ambox-imageright" {{!}}> {{{imageright}}} </td>
}}
|}</table><noinclude>
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
Anonymous user