Template:Resource: Difference between revisions

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

Revision as of 20:01, 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.