Vorlage:Usergroup: 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
Zeile 15: Zeile 15:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
+
{| style="width: 30em; font-size: 90%; border: {{status|{{{status}}}}|border=true}}; background-color: #eee; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
|-
 
|-
 
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|colspan="2" align="center"| {{#if: {{{logo|}}}| {{150px image|{{{logo}}}}} }}
 
|-
 
|-
|colspan="2" align="center"|{{#if: {{{status}}}|
+
|colspan="2" align="center"|{{#if: {{{status}}}|{{status|{{{status}}}}}}{{!}}}}
{{#switch: {{{status}}}
 
|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>
 
}}{{!}}}}
 
 
|-
 
|-
 
{{#if: {{{topic}}}|{{!}}'''Thema:'''{{!}}{{{topic|}}}}}
 
{{#if: {{{topic}}}|{{!}}'''Thema:'''{{!}}{{{topic|}}}}}

Version vom 21. Januar 2013, 22:13 Uhr

Use like this:

{{Usergroup
|logo=Metalab.gif
|organizer=anlumo
|topic=Das Leben und Sterben von anlumo
|startdate=21.01.2013
|status=active/inactive/suspended
|meetings=monthly/bimonthly/weekly/biweekly/infrequently/…
}}

Feel free to extend/improve :)