Vorlage:Ambox: Unterschied zwischen den Versionen

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

Version vom 16. September 2007, 00:54 Uhr