Template:Equipment page: Difference between revisions
Jump to navigation
Jump to search
Ian.oliver (talk | contribs) m (changed {{#if:{{{parameter}}}|yes}} to {{#if:{{{parameter|}}}|yes}} so it (hopefully) works properly) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 23: | Line 23: | ||
|'''Certification'''||{{{certification}}} | |'''Certification'''||{{{certification}}} | ||
|- | |- | ||
|'''Wiki ID'''||[[{{{id}}}]] {{#if:{{{formerid|}}}|( | |'''Wiki-ID'''||[[{{{id}}}]] {{#if:{{{formerid|}}}|(formerly: {{{formerid}}})}} | ||
|- | |||
|'''Label'''||[https://labels.protospace.ca/?id={{{id}}}&size=1 1.0"] [https://labels.protospace.ca/?id={{{id}}}&size=1.5 1.5"] [https://labels.protospace.ca/?id={{{id}}}&size=2 2.0"] | |||
|} | |} | ||
[[Category:Tools]]</includeonly> | [[Category:Tools]]</includeonly> | ||
Line 82: | Line 84: | ||
|'''Certification'''||{{{certification}}} | |'''Certification'''||{{{certification}}} | ||
|- | |- | ||
|'''Wiki ID'''||[[{{{id}}}]] | |'''Wiki-ID'''||[[{{{id}}}]] | ||
|} | |} | ||
</div> | </div> | ||
It also adds the page to [[:Category:Tools]]. | It also adds the page to [[:Category:Tools]]. | ||
</noinclude> | </noinclude> |
Latest revision as of 20:39, 8 December 2021
This template is intended to be used on all tool pages (except pages of tools that are no longer at Protospace—those should use Template:Equipment page removed). Follow the procedure outlined on the Adding New Tools Procedure page to add a page for a new tool.
The template's syntax is as follows:
{{Equipment page | toolname = Type of tool | model = Make and/or model of tool | serial = Serial number (if applicable) | owner = Original owner/donor (or buyers if the tool was group-bought) | loanstatus = Short-term loan, semi-permanent loan, or donated to Protospace | arrived = When the equipment showed up | location = Where one can find the tool/where it belongs | status = "Functional"/"Working", "Broken"/"Needs fixing", etc. (If it needs fixing, please elaborate later in the article.) | permission = "Private", "Ask owner first"," Open to full members", "Open to members & friends", "Open to all", or something else as appropriate | certification = "Self-taught" or "Certification required" as appropriate | id = Unique ID number redirecting to the tool's page | formerid = Former ID number(s); must each be manually linked | caption = (optional) A caption for the image | photo = (optional) A file link to a photo of the tool. Standardly filename.jpg with the appropriate filename and extension substituted. (You will need to upload the file if it doesn't already exist on the wiki.) }}
It generates the following on the tool page:
It also adds the page to Category:Tools.