m (ifeq verwenden) |
(infobox template) |
||
Line 19: | Line 19: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#ifeq:{{{preview image|}}}|Yes|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}}} | {{#ifeq:{{{preview image|}}}|Yes|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]}}}} | ||
{| | {{infobox start | ||
|headercolor=#cccccc | |||
| | |name={{{name}}} | ||
|image={{{image|}}} | |||
|description={{{description|}}} | |||
}}<!-- | |||
--> | |||
{{#if:{{{location|}}}|{{ | {{#if:{{{location|}}} | {{infobox row | name=Ort | value=[[Has location::{{{location|}}}]] }}}}<!-- | ||
--> | |||
{{infobox row | name=Besitzstatus | value=[[Has ownership::{{{ownership|}}}| ]] | |||
|Besitzstatus[[Has ownership::{{{ownership|}}}| ]] | |||
{{#switch: {{{ownership|}}} | {{#switch: {{{ownership|}}} | ||
| private = | | private = <span style="color: red">privat</span> | ||
| lent = | | lent = <span style="color: orange">Leihgabe</span> | ||
| club = | | club = <span style="color: green">Club-Eigentum</span> | ||
| | | <span style="color: red; font-weight: bold;">???</span> | ||
}} | }}}}<!-- | ||
--> | |||
{{#if:{{{contact|}}}|{{ | {{#if:{{{contact|}}} | {{infobox row | name=Kontakt | value={{{contact|}}} }}}} | ||
{{#if:{{{contactnick|}}} | {{infobox row | name=Kontakt | value={{U|{{{contactnick}}}}} }}}}<!-- | |||
--> | |||
{{#if:{{{contactnick|}}}|{{ | {{#if:{{{use|}}} | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]] | ||
{{#if:{{{use|}}}|{{ | |||
{{#switch: {{{use|}}} | {{#switch: {{{use|}}} | ||
| free = | | free = <span style="color: green">frei</span> | ||
| ask = | | ask = <span style="color: orange">Nachfragen</span> | ||
| rtfm = | | rtfm = <span style="color: orange">RTFM</span> | ||
| no = | | no = <span style="color: red">Nein</span> | ||
| careful = | | careful = <span style="color: orange">vorsichtig</span> | ||
| payment = | | payment = <span style="color: orange">gegen Spende</span> | ||
}} | }}}} | ||
|} | |} | ||
[[Category:Resources]] | [[Category:Resources]] | ||
</includeonly> | </includeonly> |
Revision as of 12:33, 17 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.