Template:Equipment page: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
[[Tools we have|&larr; Back to tools gallery]]
[[Tools we have|&larr; Back to tools we have]]


<!--
<!--
Line 12: Line 12:
compatible with both formats first.
compatible with both formats first.
-->
-->
{|style="float: right; margin-left: 10px; border: 1px #AAAAAA solid; background-color: #F9F9F9;"
{|style="float: right; margin-left: 10px; border: 1px #AAAAAA solid; background-color: #F9F9F9; width: 300px;"
|colspan="2" style="padding: 5px 25px;"|{{{itemphoto|[[File:{{{id}}}.jpg|250px]]}}}
|colspan="2" style="padding: 5px 25px;"|[[File:{{{photo|{{{id}}}.jpg}}}|250px]]
|-
|-
|'''Type'''||{{{toolname}}}
|'''Type'''||{{{toolname}}}
Line 37: Line 37:
|'''Wiki ID'''||[[{{{id}}}]]
|'''Wiki ID'''||[[{{{id}}}]]
|}
|}
* '''Type:''' {{{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}}}]]


[[Category:Tools]]
[[Category:Tools]]
Line 73: Line 61:
| 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
| caption      = (optional) A caption for the image, if you're not using manual image markup via itemphoto
| caption      = (optional) A caption for the image
| itemphoto    = (optional) A file link to a photo of the tool.
| photo        = (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.
                       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.)
                       (You will need to upload the file if it doesn't already exist on the wiki.)
}}
}}
Line 81: Line 69:


It generates the following on the tool page:
It generates the following on the tool page:
<div style="border: 1px solid black;">
<div style="border: 1px solid black; height: 560px;">
[[Tools_We_Have|&larr; Back to tools gallery]]
[[Tools we have|&larr; Back to tools we have]]


{{{itemphoto|[[File:NoImage.png|350px|thumb|right|]]}}}
{|style="float: right; margin-left: 10px; border: 1px #AAAAAA solid; background-color: #F9F9F9; width: 300px;"
 
|colspan="2" style="padding: 5px 25px;"|[[File:NoImage.png|250px]]
* '''Type:''' {{{toolname}}}
|-
* '''Make/Model:''' {{{model}}}
|'''Type'''||{{{toolname}}}
* '''Serial Number:''' {{{serial}}}
|-
* '''Original Owner:''' {{{owner}}}
|'''Make/Model'''||{{{model}}}
* '''Loan Status:''' {{{loanstatus}}}  
|-
* '''Arrival Date:''' {{{arrived}}}
|'''Serial number'''||{{{serial}}}
* '''Location:''' {{{location}}}
|-
* '''Functional Status:''' {{{status}}}
|'''Original owner'''||{{{owner}}}
* '''Usage Permissions:''' {{{permission}}}
|-
* '''Certification:''' {{{certification}}}
|'''Loan status'''||{{{loanstatus}}}
* '''Wiki ID:''' {{{id}}}
|-
|'''Arrival date'''||{{{arrived}}}
|-
|'''Location'''||{{{location}}}
|-
|'''Functional status'''||{{{status}}}
|-
|'''Usage permissions'''||{{{permission}}}
|-
|'''Certification'''||{{{certification}}}
|-
|'''Wiki ID'''||[[{{{id}}}]]
|}
</div>
</div>
It also adds the page to [[:Category:Tools]].
It also adds the page to [[:Category:Tools]].
</noinclude>
</noinclude>

Revision as of 05:51, 25 September 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      = 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
| 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:

← Back to tools we have

NoImage.png
Type {{{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.