Vorlage:Ambox: Unterschied zwischen den Versionen

K
103 Versionen von wikivoyage:Vorlage:Ambox importiert
(- padding added as a side effect of the 20:02 edit)
K (103 Versionen von wikivoyage:Vorlage:Ambox importiert)
 
(73 dazwischenliegende Versionen von 20 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
<includeonly>{{#invoke:Message box|ambox}}</includeonly><noinclude>{{Dokumentation}}</noinclude>
  | serious  = ambox-serious
  | content  = ambox-content
  | style    = ambox-style
  | merge    = ambox-merge
  | notice  = ambox-notice
  | growth  = ambox-growth
  | #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]]
    | style    = [[Image:Broom icon.svg|40px]]
    | merge    = [[Image:Merge-split-transwiki default.svg]]
    | notice  = [[Image:Info non-talk.png|40px]]
    | growth  = [[Image:Green plus icon.png]]
    | blank    = <!-- empty image cell -->
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
  }}</td>
}}
<td>
{{{text}}}</td>
{{#if:{{{imageright|}}}|
  <td class="ambox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><noinclude>
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>