Vorlage:Machine: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
K
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<noinclude>
 
<noinclude>
Use like this:
+
{{Howto_Machine}}
<pre>
+
</pre>
+
 
+
Feel free to extend/improve :)
+
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 +
{{#ifeq: {{{hidden}}}| true | <div style="display:none;"> }}
 
{| 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: 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="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
 
| style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
Zeile 22: Zeile 19:
 
|-
 
|-
 
{{#if: {{{requiresauth}}}|{{!}}'''Erfordert Authentisierung:'''}}
 
{{#if: {{{requiresauth}}}|{{!}}'''Erfordert Authentisierung:'''}}
|{{#switch: {{{requiresauth}}}
+
{{#if: {{{requiresauth}}}|{{!}}{{{requiresauth}}}}}
  | yes = style="background-color: rot;" test {{{requiresauth}}} test
+
}}
+
 
|-
 
|-
{{#if: {{{cost}}}|{{!}}'''Bezahlung:'''}}
+
{{#if: {{{cost}}}|{{!}}'''Kostet:'''}}
 
{{#if: {{{cost}}}|{{!}}{{{cost|}}}}}
 
{{#if: {{{cost}}}|{{!}}{{{cost|}}}}}
 +
|-
 +
{{#if: {{{teachers}}}|{{!}}'''Hilfsbereite:'''}}
 +
{{#if: {{{teachers}}}|{{!}}{{{teachers|}}}}}
 
|}
 
|}
 +
{{#ifeq: {{{hidden}}}| true | </div> }}
 +
[[Kategorie:Maschinen]]
 
</includeonly>
 
</includeonly>

Aktuelle Version vom 21. Mai 2013, 14:41 Uhr


Language: English

Use it like this

{{Machine
|owner=Metalab|User:bla
|status=active|broken|being repaired|currently not available
|requirestraining=Ja|Nein
|requiresauth=Ja|Nein
|cost=?
|teachers=[[User:bla]],[[User:bli]]
|hidden=true|false
}}