Vorlage:Status: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
K
K
Zeile 1: Zeile 1:
 +
<noinclude>
 +
Use like this:
 +
<pre>
 +
{{Status|active/inactive/suspended}}
 +
</noinclude>
 
<includeonly>
 
<includeonly>
{{#switch: {{{status|yes}}}
+
{{#switch: {{{1|yes}}}
 
|true
 
|true
 
|yes
 
|yes

Version vom 22. Januar 2013, 00:50 Uhr

Use like this:

{{Status|active/inactive/suspended}}
</noinclude>
<includeonly>
{{#switch: {{{1|yes}}}
|true
|yes
|yay
|active = <span style="color:green">aktiv</span>
|false
|no
|nay
|inactive = <span style="color:red">inaktiv</span>
|maybe
|perhaps
|iamscared
|suspended = <span style="color:orange">auf Urlaub</span>
}}
</includeonly>