Template:Resource: Difference between revisions

Template page
m (template)
(+netbox_device_id)
 
(9 intermediate revisions by 3 users not shown)
Line 14: Line 14:
  | broken      = </nowiki>''(optional, unused)'' remove/repair/rebuy/notify<nowiki>
  | broken      = </nowiki>''(optional, unused)'' remove/repair/rebuy/notify<nowiki>
  | annoying    = </nowiki>''(optional, unused)'' remove/notify/ignore<nowiki>
  | annoying    = </nowiki>''(optional, unused)'' remove/notify/ignore<nowiki>
| netbox_device_id    = </nowiki>''(optional)'' Netbox Device Id<nowiki>
  }}
  }}
</nowiki>
</nowiki>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly><!--
</noinclude><includeonly><!--
-->{{#ifeq:{{{preview image|}}}|Yes|{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}}}<!--
-->{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[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}}}| ]] | [[Resource category::Sonstiges| ]] }}<!--


-->{{infobox start
-->{{infobox start
  |headercolor=#cccccc
  |headercolor=#000080
  |name={{{name}}}
|darkheader=1
  |name=[[Resource name::{{{name}}}]]
  |image={{{image|}}}
  |image={{{image|}}}
  |description={{{description|}}}
  |description={{{description|}}}
Line 32: Line 36:


-->{{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={{#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|}}}}}  }}}}<!--
 
-->{{ifnotempty|{{{netbox_device_id|}}} |{{infobox row|name=NetBox  | value=[https://netbox.chaosdorf.space/dcim/devices/{{{netbox_device_id}}}/ Device {{{netbox_device_id}}}] }}}}<!--
-->{{#ifeq: {{{has label|}}} | Yes|| {{infobox row | name=Label    | value={{Wikilabel|Bitte ausdrucken|{{PAGENAME}}}} }}}}<!--
-->
-->
|}
|}
[[Category:Resources]]
[[Category:Resources]]
</includeonly>
</includeonly>

Latest revision as of 13:30, 29 June 2023

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
 | netbox_device_id    = (optional) Netbox Device Id
 }}

Edit the page to see the template text.