Template:Tool: Difference between revisions
Jump to navigation
Jump to search
add noteam special value |
|||
Line 17: | Line 17: | ||
|- | |- | ||
! Team | ! Team | ||
| {{#if: {{{team|}}}|[[Team:{{{team|}}}|{{{team|}}}]]|[[Team:Tools|Tools]] }} | | {{#if: {{{team|}}}|{{#ifeq {{{team}}}|noteam|Not maintained by space.|[[Team:{{{team|}}}|{{{team|}}}]] }} |[[Team:Tools|Tools]] }} | ||
|- {{#if:{{{induction|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | |- {{#if:{{{induction|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | ||
! Induction Required | ! Induction Required | ||
Line 74: | Line 74: | ||
{{note|If the tool has been removed from the space or is located elsewhere, leave the location blank.}} | {{note|If the tool has been removed from the space or is located elsewhere, leave the location blank.}} | ||
;team | ;team | ||
:Team responsible for looking after tool or equipment. Defaults to 'Tools'. Use name of team only without the 'Team:' prefix or double square brackets. For example, for [[Team:Laser]] use use 'team=Laser'. See [[:category:Teams]] for Team names. | :Team responsible for looking after tool or equipment. Defaults to 'Tools'. Use name of team only without the 'Team:' prefix or double square brackets. For example, for [[Team:Laser]] use use 'team=Laser'. See [[:category:Teams]] for Team names. For tools not maintained by the space use team=noteam (for example, [[Risograph GR3750]]). | ||
;induction | ;induction | ||
:Whether or not an induction is required to use the tool. If required use 'induction=yes'. | :Whether or not an induction is required to use the tool. If required use 'induction=yes'. |
Revision as of 01:17, 23 February 2019
Tool | |
---|---|
Team | Tools |
Tools: all pages • list {{}} |
Documentation
All arguments are optional, but you should have at least 1 (ideally more). Don't worry about the way it looks on this page: that's purely because no arguments are specified.
Usage
Inserting the following text at the top of the tool page will produce an information box on your page that gives an overview of the tool. Arguments can be written in any order.
Images look great with this template, include one if you can!
Abbreviated parameter list:
{{Tool |image= |manufacturer= |model= |obtained= |obtaineddate= |location= |team= |induction= |defunct= |defunctdate= }}
Arguments
- image
- An image, in the format File:<image name>.<ext>. DO NOT include the [[]] brackets otherwise the image will display full size.
- manufacturer
- The name of the maker of the tool
- model
- The model number of the tool. Please be as exact as possible.
- obtained
- How the tool was obtained (i.e. pledge drive, donation, etc)
- obtaineddate
- Date obtained, use format DD/MM/YYYY. If day or month is unknown use 01.
- location
- Where the tool is located in the space. A list of locations is available here: category:Location
Note: If the tool has been removed from the space or is located elsewhere, leave the location blank.
- team
- Team responsible for looking after tool or equipment. Defaults to 'Tools'. Use name of team only without the 'Team:' prefix or double square brackets. For example, for Team:Laser use use 'team=Laser'. See category:Teams for Team names. For tools not maintained by the space use team=noteam (for example, Risograph GR3750).
- induction
- Whether or not an induction is required to use the tool. If required use 'induction=yes'.
- defunct
- If the tool no longer works and/or no longer at the space use 'defunct=yes'
- defunctdate
- Date defunct use format DD/MM/YYYY. If day or month is unknown use 01.