Zum Inhalt springen

Vorlage:Imbox: Unterschied zwischen den Versionen

Simplifying the code.
imported>Davidgothberg
(Hard coding all the new styles so this box can be used for testing.)
imported>Davidgothberg
(Simplifying the code.)
Zeile 1: Zeile 1:
<table class="metadata plainlinks ambox" style="
<table class="metadata plainlinks ambox" style="margin: 3px 10%;
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
   | speedy = margin:3px 10%; border:4px solid #b22222; background:#fee;
   | speedy     = border: 4px solid #b22222; background: #fee;
   | delete    = margin:3px 10%; border:4px solid #b22222;
   | delete    = border: 4px solid #b22222;
   | content    = margin:3px 10%; border:4px solid #f28500;
   | content    = border: 4px solid #f28500;
   | style      = margin:3px 10%; border:4px solid #f4c430;
   | style      = border: 4px solid #f4c430;
   | move      = margin:3px 10%; border:4px solid #9932cc;
   | move      = border: 4px solid #9932cc;
   | protection = margin:3px 10%; border:4px solid #bba;
   | protection = border: 4px solid #bba;
   | notice          <!-- notice = default -->
   | notice          <!-- notice = default -->
   | #default  = margin:3px 10%; border:4px solid #1e90ff;
   | #default  = border: 4px solid #1e90ff;
}} {{{style|}}}">
}} {{{style|}}}">
<tr>
<tr>
Anonymer Benutzer