Template:Equipment page: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
(added caption field)
(updated documentation)
Line 45: Line 45:
| certification = "Self-taught" or "Certification required" as appropriate
| certification = "Self-taught" or "Certification required" as appropriate
| id            = Unique ID number redirecting to the tool's page
| id            = Unique ID number redirecting to the tool's page
| itemphoto    = A file link to a photo of the tool.
| caption      = (optional) A caption for the image, if you're not using manual image markup via itemphoto
                       Standardly [[File:filename.jpg|350px|thumb|right|]] with the appropriate filename substituted.
| itemphoto    = (optional) A file link to a photo of the tool.
                       Standardly [[File:filename.jpg|350px|thumb|right|<caption goes here>]] with the appropriate filename substituted.
                       (You will need to upload the file if it doesn't already exist on the wiki.)
                       (You will need to upload the file if it doesn't already exist on the wiki.)
}}
}}

Revision as of 08:19, 27 January 2019


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      = Name of the 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
| caption       = (optional) A caption for the image, if you're not using manual image markup via itemphoto
| itemphoto     = (optional) A file link to a photo of the tool.
                      Standardly [[File:filename.jpg|350px|thumb|right|<caption goes here>]] with the appropriate filename 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:

← Back to tools gallery

NoImage.png
  • Name: {{{toolname}}}
  • Make/Model: {{{model}}}
  • Serial Number: {{{serial}}}
  • Original Owner: {{{owner}}}
  • Loan Status: {{{loanstatus}}}
  • Arrival Date: {{{arrived}}}
  • Location: {{{location}}}
  • Functional Status: {{{status}}}
  • Usage Permissions: {{{permission}}}
  • Certification: {{{certification}}}
  • Wiki ID: {{{id}}}

It also adds the page to Category:Tools.