Template:Equipment page removed: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
m (updated example to include removal date)
(added {{{replacements}}} field)
Line 13: Line 13:
|- style = "border: 1px solid #555;"
|- style = "border: 1px solid #555;"
| style = "background: #f33;" | '''This article is about a tool that is no longer at Protospace.''' It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
| style = "background: #f33;" | '''This article is about a tool that is no longer at Protospace.''' It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
|- style = "border: 1px solid #555;"
| style = "background: #ae2;" | '''Replacement tool(s): ''' {{{replacements}}}
|-
|-
| style = "background: #faa" |
| style = "background: #faa" |
Line 32: Line 34:
<noinclude>This template is intended to be used on pages about tools that are no longer at Protospace. (Pages for tools that are currently at Protospace should use [[Template:EquipmentPage]].) Follow the procedure outlined on the [[Adding New Tools Procedure]] page to add a page for a new tool.
<noinclude>This template is intended to be used on pages about tools that are no longer at Protospace. (Pages for tools that are currently at Protospace should use [[Template:EquipmentPage]].) 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. Everything below the fourth line (<code>removaldate</code>) is the same as Template:EquipmentPage.
The template's syntax is as follows. Everything below the fifth line (<code>replacements</code>) is the same as Template:EquipmentPage.
<pre><nowiki>
<pre><nowiki>
{{EquipmentPage removed
{{EquipmentPage removed
Line 38: Line 40:
| removalreason = Reason the tool was removed
| removalreason = Reason the tool was removed
| removaldate  = Date the tool was removed
| removaldate  = Date the tool was removed
| replacements  = Any tool(s) that replace this tool. Please link to their pages. "None" if there is no replacement yet.
| toolname      = Name of the tool
| toolname      = Name of the tool
| model        = Make and/or model of tool
| model        = Make and/or model of tool
Line 71: Line 74:
|- style = "border: 1px solid #555;"
|- style = "border: 1px solid #555;"
| style = "background: #f33;" | '''This article is about a tool that is no longer at Protospace.''' It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
| style = "background: #f33;" | '''This article is about a tool that is no longer at Protospace.''' It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
|- style = "border: 1px solid #555;"
| style = "background: #ae2;" | '''Replacement tool(s): ''' {{{replacements}}}
|-
|-
| style = "background: #faa" |
| style = "background: #faa" |

Revision as of 13:18, 23 December 2015

This template is intended to be used on pages about tools that are no longer at Protospace. (Pages for tools that are currently at Protospace should use Template:EquipmentPage.) 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. Everything below the fifth line (replacements) is the same as Template:EquipmentPage.

{{EquipmentPage removed
| removedby     = Name of person who removed the tool
| removalreason = Reason the tool was removed
| removaldate   = Date the tool was removed
| replacements  = Any tool(s) that replace this tool. Please link to their pages. "None" if there is no replacement yet.
| 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
| itemphoto     = A file link to a photo of the tool.
                      Standardly [[File:filename.jpg|350px|thumb|right|]] 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

150
This article is about a tool that is no longer at Protospace. It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
Replacement tool(s): {{{replacements}}}
  • 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}}}

It also adds the page to Category:Tools no longer at Protospace, but not Category:Tools. (The former is a subcategory of the latter, so you can still find removed tools by browsing the category tree.)