Template:Resource: Difference between revisions

Template page
(ifnotempty template)
m (whitespace--)
Line 27: Line 27:


-->{{ifnotempty|{{{location|}}} | {{infobox row | name=Ort | value=[[Has location::{{{location|}}}]] }}}}<!--
-->{{ifnotempty|{{{location|}}} | {{infobox row | name=Ort | value=[[Has location::{{{location|}}}]] }}}}<!--
-->{{infobox row | name=Besitzstatus | value=[[Has ownership::{{{ownership|}}}| ]]
-->{{infobox row | name=Besitzstatus | value=[[Has ownership::{{{ownership|}}}| ]]<!--
{{#switch: {{{ownership|}}}
-->{{#switch: {{{ownership|}}}
  | private = <span style="color: red">privat</span>
  | private = <span style="color: red">privat</span>
  | lent = <span style="color: orange">Leihgabe</span>
  | lent = <span style="color: orange">Leihgabe</span>
Line 37: Line 37:
-->{{ifnotempty|{{{contact|}}}    | {{infobox row | name=Kontakt  | value={{{contact|}}}            }}}}<!--
-->{{ifnotempty|{{{contact|}}}    | {{infobox row | name=Kontakt  | value={{{contact|}}}            }}}}<!--
-->{{ifnotempty|{{{contactnick|}}} | {{infobox row | name=Kontakt  | value={{U|{{{contactnick}}}}}  }}}}<!--
-->{{ifnotempty|{{{contactnick|}}} | {{infobox row | name=Kontakt  | value={{U|{{{contactnick}}}}}  }}}}<!--
-->{{ifnotempty|{{{use|}}}        | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]]
-->{{ifnotempty|{{{use|}}}        | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]]<!--
{{#switch: {{{use|}}}
-->{{#switch: {{{use|}}}
  | free    = <span style="color: green">frei</span>
  | free    = <span style="color: green">frei</span>
  | ask    = <span style="color: orange">Nachfragen</span>
  | ask    = <span style="color: orange">Nachfragen</span>

Revision as of 16:04, 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.