Template:Resource: Difference between revisions

Template page
m (arraymap für contactnick)
(Labelderp)
Line 19: Line 19:
</noinclude><includeonly><!--
</noinclude><includeonly><!--
-->{{#ifeq:{{{preview image|}}}|Yes|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}|[[Has no image::true| ]]}}<!--
-->{{#ifeq:{{{preview image|}}}|Yes|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}|[[Has no image::true| ]]}}<!--
-->{{#ifeq: {{{has label|}}} | Yes | [[Has label::Yes| ]] | [[Has label::No| ]] }}<!--
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | |-1 }} | en | [[Duplicate::Yes| ]] | [[Duplicate::No| ]] }}<!--
-->{{#ifeq: {{#titleparts: {{PAGENAME}} | |-1 }} | en | [[Duplicate::Yes| ]] | [[Duplicate::No| ]] }}<!--
-->{{#if: {{{resource category|}}} | [[Resource category::{{{resource category}}}| ]]}}<!--
-->{{#if: {{{resource category|}}} | [[Resource category::{{{resource category}}}| ]]}}<!--
Line 35: Line 36:
-->{{ifnotempty|{{{contactnick|}}} | {{infobox row | name=Kontakt  | value={{#arraymap:{{{contactnick|}}}|,|x|{{U|x}}}} }}}}<!--
-->{{ifnotempty|{{{contactnick|}}} | {{infobox row | name=Kontakt  | value={{#arraymap:{{{contactnick|}}}|,|x|{{U|x}}}} }}}}<!--
-->{{ifnotempty|{{{use|}}}        | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]]{{Usage condition|{{{use|}}}}}  }}}}<!--
-->{{ifnotempty|{{{use|}}}        | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]]{{Usage condition|{{{use|}}}}}  }}}}<!--
-->{{#ifeq: {{{has label|}}} | Yes|| {{infobox row | name=Label    | value={{Wikilabel|{{PAGENAME}}|Bitte ausdrucken}} }}}}<!--


-->
-->

Revision as of 06:55, 24 September 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.