Vorlage:Imbox: Unterschied zwischen den Versionen

K
58 Versionen von wikivoyage:Vorlage:Imbox importiert
imported>Davidgothberg
(Removing backwards compatibility code from the {{ambox}}. Not needed in this template since it is new.)
K (58 Versionen von wikivoyage:Vorlage:Imbox importiert)
 
(53 dazwischenliegende Versionen von 17 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<table class="metadata plainlinks ambox
<includeonly>{{#invoke:Message box|imbox}}</includeonly><noinclude>
{{#switch:{{{type|}}}
{{Dokumentation}}
  | speedy    = ambox-speedy  <!-- Can be used from 19 May 2008 -->
<!-- Kategorien bitte auf die Unterseite /Doku, Interwiki-Links bitte nach Wikidata. Danke! -->
  | delete    = ambox-delete     
  | content    = ambox-content
  | style      = ambox-style
  | move      = ambox-merge  <!--ambox-move can be used 20 May 2008-->
  | protection = ambox-protection
  | notice    = ambox-notice
  | #default  = ambox-notice
}}" style="border:4px solid #1e90ff; {{{style|}}}">
<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|}}}}}}
    | speedy    = [[Image:Ambox speedy deletion.png|40x40px]]
    | delete    = [[Image:Ambox deletion.png|40x40px]]
    | content    = [[Image:Ambox content.png|40x40px]]
    | style      = [[Image:Ambox style.png|40x40px]]
    | move      = [[Image:Ambox move.png|40x40px]]
    | protection = [[Image:Ambox protection.png|40x40px]]
    | notice    = [[Image:Ambox notice.png|40x40px]]
    | blank      = &nbsp;
    | #default  = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
  }}</div>
}}</td>
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
{{#if:{{{imageright|}}}
  | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
</tr>
</table><noinclude>
 
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>