Template:Resource: Difference between revisions

Template page
m (test2)
m (foo?)
Line 28: Line 28:
|-
|-
{{#if:{{{ownership|}}}|{{!}}Besitzstatus}}
{{#if:{{{ownership|}}}|{{!}}Besitzstatus}}
{{#if:{{{ownership|}}}|{{!}}[[Has ownership::{{{ownership|}}}]]}}
{{#ifeq:{{{ownership|}}}|private|{{!}}<span style="color: red">privat</span>|}}
{{#ifeq:{{{ownership|}}}|lent|{{!}}<span style="color: orange">Leihgabe</span>|}}
{{#ifeq:{{{ownership|}}}|club|{{!}}Club-Eigentum|}}
{{#if:{{{ownership|}}}|[[Has ownership::{{{ownership|}}}| ]]}}
|-
|-
{{#if:{{{contact|}}}|{{!}}Kontakt}}
{{#if:{{{contact|}}}|{{!}}Kontakt}}

Revision as of 19:00, 29 June 2012

This is the 'Resource' template. It should be used via Form:Resource or in the following format:

 {{Resource
 | description = Beschreibung
 | image       = (optional) Name des Bilds (ohne File: davor)
 | location    = (optional) Ort im Club
 | ownership   = (optional) Besitzstatus (Spende, Leihgabe, Privat etc.)
 | contact     = (optional) Ansprechpartner für $foo (z.B. Besitzer falls Leihgabe/Privat)
 | contactnick = (optional) wie oben, aber verlinkt auf Wiki-Userpage
 }}

Edit the page to see the template text.