Difference between revisions of "Template:Tool"

From Nottinghack Wiki
Jump to navigation Jump to search
(get rid of extra return)
({{}} on same line)
Line 28: Line 28:
 
   | Defunct {{#if: {{{defunctdate|}}}|<small>'' ({{{defunctdate|}}})''</small> }}
 
   | Defunct {{#if: {{{defunctdate|}}}|<small>'' ({{{defunctdate|}}})''</small> }}
 
|-
 
|-
| colspan="2" style="text-align: center; border: 1px solid #244724; "|<small> '''Tools:''' &nbsp; [[:Category:Tools and Equipment|all pages]] • [[Tools/We Have|list]] • [[Tools/We Have/Power Tools|Power Tools]] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [[Template:Tool |{{}}]]</small>
+
| colspan="2" style="text-align: center; border: 1px solid #244724; "|<small> '''Tools:''' &nbsp; [[:Category:Tools and Equipment|all pages]] • [[Tools/We Have|list]] • [[Tools/We Have/Power Tools|Power Tools]] &nbsp; &nbsp; [[Template:Tool|{{}}]]</small>
 
|}
 
|}
 
<includeonly>{{#switch:{{lc:{{{defunct|}}}}}|yes=[[Category:Tools and Equipment (Defunct)]]|#default=[[Category:Tools and Equipment]]
 
<includeonly>{{#switch:{{lc:{{{defunct|}}}}}|yes=[[Category:Tools and Equipment (Defunct)]]|#default=[[Category:Tools and Equipment]]

Revision as of 19:36, 25 June 2019

Tool
[[{{{image}}}|border|frameless|220px|center]]
Manufacturer {{{manufacturer}}}
Model {{{model}}}
Obtained {{{obtained}}}
Location [[{{{location}}}]]
Team Tools
Induction Required {{{induction}}}
Booking {{{booking}}}
Status Defunct
Tools:   all pageslistPower Tools     {{}}

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 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). Noteam also stops location automatically being a wikilink and automatic categorisation by location.
induction
Whether or not an induction is required to use the tool. If required use 'induction=yes' - adds link to induction request form
booking
Whether or not booking is required to use the tool. If required use 'booking=yes' - adds link to booking in HMS
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.