Vorlage:Status: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
K
K
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
<noinclude>
 +
Use like this:
 +
<pre>
 +
{{Status|active/inactive/suspended}}
 +
</pre>
 +
</noinclude>
 
<includeonly>
 
<includeonly>
{{#if: {{{border|}}}|
+
{{#switch: {{{1|yes}}}
{{#switch: {{{status|yes}}}
 
|true
 
|yes
 
|yay
 
|active = style="1px solid #00aa00"
 
|false
 
|no
 
|nay
 
|inactive = style="1px solid #aa0000"
 
|maybe
 
|perhaps
 
|iamscared
 
|suspended = style="1px solid #aad000"
 
}}|
 
{{#switch: {{{status|yes}}}
 
 
|true
 
|true
 
|yes
 
|yes
Zeile 28: Zeile 19:
 
|iamscared
 
|iamscared
 
|suspended = <span style="color:orange">auf Urlaub</span>
 
|suspended = <span style="color:orange">auf Urlaub</span>
}}
 
 
}}
 
}}
 
</includeonly>
 
</includeonly>

Aktuelle Version vom 21. Januar 2013, 22:51 Uhr

Use like this:

{{Status|active/inactive/suspended}}