Vorlage:Usergroup: 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 6: Zeile 6:
 
|organizer=anlumo
 
|organizer=anlumo
 
|startdate=21.01.2013
 
|startdate=21.01.2013
|status=active/inactive
+
|status=active/inactive/suspended
 
|meetings=monthly/bimonthly/weekly/biweekly/infrequently
 
|meetings=monthly/bimonthly/weekly/biweekly/infrequently
 
}}
 
}}
Zeile 19: Zeile 19:
 
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|-
 
|-
|colspan="2" align="center"|{{#if: {{{status}}}|<span style="color:red">{{{status|}}}</span>{{!}}}}
+
|colspan="2" align="center"|{{#if: {{{status}}}|
 +
{{#switch: {{{status}}}
 +
|active = <span style="color:green">aktiv</span>
 +
|inactive = <span style="color:red">inaktiv</span>
 +
|suspended = <span style="color:yellow">auf Urlaub</span>
 +
}}{{!}}}}
 
|-
 
|-
 
{{#if: {{{startdate}}}|{{!}}'''Gestartet:'''{{!}}{{{startdate|}}}}}
 
{{#if: {{{startdate}}}|{{!}}'''Gestartet:'''{{!}}{{{startdate|}}}}}

Version vom 21. Januar 2013, 22:51 Uhr

Use like this:

{{Usergroup
|logo=Metalab.gif
|organizer=anlumo
|startdate=21.01.2013
|status=active/inactive/suspended
|meetings=monthly/bimonthly/weekly/biweekly/infrequently
}}

Feel free to extend/improve :)