Template:Resource: Difference between revisions

Template page
(#switch, labelzfoo)
(→use)
Line 11: Line 11:
  | contactnick = </nowiki>''(optional)'' wie oben, aber verlinkt auf Wiki-Userpage<nowiki>
  | contactnick = </nowiki>''(optional)'' wie oben, aber verlinkt auf Wiki-Userpage<nowiki>
  | use        = </nowiki>''(optional)'' free/ask/rtfm/no/careful/payment<nowiki>
  | use        = </nowiki>''(optional)'' free/ask/rtfm/no/careful/payment<nowiki>
  | may be      = </nowiki>''(optional)'' destroyed/borrowed/moved<nowiki>
  | may be      = </nowiki>''(optional, unused)'' destroyed/borrowed/moved<nowiki>
  | broken      = </nowiki>''(optional)'' remove/repair/rebuy/notify<nowiki>
  | broken      = </nowiki>''(optional, unused)'' remove/repair/rebuy/notify<nowiki>
  | annoying    = </nowiki>''(optional)'' remove/notify/ignore<nowiki>
  | annoying    = </nowiki>''(optional, unused)'' remove/notify/ignore<nowiki>
  }}
  }}
</nowiki>
</nowiki>
Line 30: Line 30:
{{#if:{{{location|}}}|{{!}}[[Has location::{{{location|}}}]]}}
{{#if:{{{location|}}}|{{!}}[[Has location::{{{location|}}}]]}}
|-
|-
|Besitzstatus[[Has ownership::{{{ownership|}}}| ]]}}
|Besitzstatus[[Has ownership::{{{ownership|}}}| ]]
{{#switch: {{{ownership|}}}
{{#switch: {{{ownership|}}}
  | private = {{!}}<span style="color: red">privat</span>
  | private = {{!}}<span style="color: red">privat</span>
Line 45: Line 45:
|-
|-
{{#if:{{{use|}}}|{{!}}Benutzung}}
{{#if:{{{use|}}}|{{!}}Benutzung}}
{{#ifeq:{{{use|}}}|free|{{!}}<span style="color:
{{#switch: {{{use|}}}
| free = {{!}}<span style="color: green">frei</span>
| ask = {{!}}<span style="color: orange">Nachfragen</span>
| rtfm = {{!}}<span style="color: orange">RTFM</span>
| no = {{!}}<span style="color: red">Nein</span>
| careful = {{!}}<span style="color: orange">vorsichtig</span>
| payment = {{!}}<span style="color: orange">gegen Spende</span>
}}
|}
|}
[[Category:Resources]]
[[Category:Resources]]
</includeonly>
</includeonly>

Revision as of 21:26, 1 July 2012

Benutzung via Form:Resource oder in diesem Format. Orientiert sich ein wenig an labelz.

 {{Resource
 | description = Beschreibung
 | image       = (optional) Name des Bilds (ohne File: davor)
 | location    = (optional) Ort im Club
 | ownership   = Besitzstatus (private/lent/club)
 | contact     = (optional) Ansprechpartner für $foo (z.B. Besitzer falls Leihgabe/Privat)
 | contactnick = (optional) wie oben, aber verlinkt auf Wiki-Userpage
 | use         = (optional) free/ask/rtfm/no/careful/payment
 | may be      = (optional, unused) destroyed/borrowed/moved
 | broken      = (optional, unused) remove/repair/rebuy/notify
 | annoying    = (optional, unused) remove/notify/ignore
 }}

Edit the page to see the template text.