Template:Equipment page removed: Difference between revisions

From Protospace Wiki
Jump to navigation Jump to search
m (updated example to include removal date)
m (updated orthography ("wiki-ID" instead of "Wiki ID"))
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
[[Tools_We_Have|&larr; Back to tools gallery]]
[[Tools we have|&larr; Back to tools we have]]
 
{{{itemphoto|[[File:{{{id}}}.jpg|350px|thumb|right|{{{caption|}}}]]}}}


{| style="border:solid #aaa 0px; margin:0px; font-size:100%; background:#ffffff; width:0px; padding:1em; text-align:absmiddle; float:right; clear:right;"
{| style="background-color: #FF3333; border: 2px solid #555555; border-radius: 10px; padding: 10px; margin: 0 0 20px;"
| {{{itemphoto|[[file:Equipment-no-photo.jpg|150]]}}}
| <span class="fa fa-archive fa-4x"></span>
|-
| style="padding-left:10px;" | '''This article is about a tool that is no longer at Protospace.'''<br><small>Further information can be found below.</small>
| align="absmiddle" |
|-
|
|}
|}


{| border = "0" style = "border-collapse: collapse;"
* '''Type:''' {{{toolname}}}
|- style = "border: 1px solid #555;"
* '''Make/Model:''' {{{model}}}
| style = "background: #f33;" | '''This article is about a tool that is no longer at Protospace.''' It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
* '''Serial Number:''' {{{serial}}}
|-
| style = "background: #faa" |
* '''Name: ''' {{{toolname}}}
* '''Make/Model: ''' {{{model}}}
* '''Serial Number: ''' {{{serial}}}
* '''Original Owner:''' {{{owner}}}
* '''Original Owner:''' {{{owner}}}
* '''Removed by:''' {{{removedby}}}
* '''Removal Reason:''' {{{removalreason}}}
* '''Loan Status:''' {{{loanstatus}}}  
* '''Loan Status:''' {{{loanstatus}}}  
* '''Arrival Date:''' {{{arrived}}}
* '''Arrival Date:''' {{{arrived}}}
* '''Removal Date:''' {{{removaldate}}}
* '''Removal Date:''' {{{removaldate}}}
* '''Location: ''' {{{location}}}
* '''Replacements:''' {{{replacements}}}
* '''Location:''' {{{location}}}
* '''Functional Status:''' {{{status}}}
* '''Functional Status:''' {{{status}}}
* '''Usage Permissions:''' {{{permission}}}
* '''Usage Permissions:''' {{{permission}}}
* '''Certification:''' {{{certification}}}
* '''Certification:''' {{{certification}}}
|}
* '''Wiki-ID:''' [[{{{id}}}]]


[[Category:Tools no longer at Protospace]]</includeonly>
[[Category:Tools no longer at Protospace]]</includeonly>
<!-- DOCUMENTATION -->
<!-- DOCUMENTATION -->
<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:Equipment page]].) 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:Equipment page.
<pre><nowiki>
<pre><nowiki>
{{EquipmentPage removed
{{Equipment page removed
| removedby    = Name of person who removed the tool
| removedby    = Name of person who removed the tool
| removalreason = Reason the tool was removed
| removalreason = Reason the tool was removed
| removaldate  = Date the tool was removed
| removaldate  = Date the tool was removed
| toolname      = Name of the tool
| replacements  = Any tool(s) that replace this tool. Please link to their pages. "None" if there is no replacement yet.
| toolname      = Type of tool
| model        = Make and/or model of tool
| model        = Make and/or model of tool
| serial        = Serial number (if applicable)
| serial        = Serial number (if applicable)
Line 50: Line 48:
                       "Open to members & friends", "Open to all", or something else as appropriate
                       "Open to members & friends", "Open to all", or something else as appropriate
| certification = "Self-taught" or "Certification required" as appropriate
| certification = "Self-taught" or "Certification required" as appropriate
| itemphoto    = A file link to a photo of the tool.
| id            = Unique ID number redirecting to the tool's page
                       Standardly [[File:filename.jpg|350px|thumb|right|]] with the appropriate filename substituted.
| 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.)
                       (You will need to upload the file if it doesn't already exist on the wiki.)
}}
}}
Line 57: Line 57:


It generates the following on the tool page:
It generates the following on the tool page:
<table border="1"><tr><td>
<div style="border: 1px solid black;">
[[Tools_We_Have|&larr; Back to tools gallery]]
[[Tools_We_Have|&larr; Back to tools gallery]]


{| style="border:solid #aaa 0px; margin:0px; font-size:100%; background:#ffffff; width:0px; padding:1em; text-align:absmiddle; float:right; clear:right;"
{{{itemphoto|[[File:NoImage.png|350px|thumb|right|]]}}}
| {{{itemphoto|[[file:Equipment-no-photo.jpg|150]]}}}
 
|-
{| style="background-color: #FF3333; border: 2px solid #555555; border-radius: 10px; padding: 10px; margin: 0 0 20px;"
| align="absmiddle" |
| <span class="fa fa-archive fa-4x"></span>
|-
| style="padding-left:10px;" | '''This article is about a tool that is no longer at Protospace.'''<br><small>Further information can be found below.</small>
|
|}
|}


{| border = "0" style = "border-collapse: collapse;"
* '''Type:''' {{{toolname}}}
|- style = "border: 1px solid #555;"
* '''Make/Model:''' {{{model}}}
| style = "background: #f33;" | '''This article is about a tool that is no longer at Protospace.''' It was removed by {{{removedby}}} on {{{removaldate}}} because {{{removalreason}}}.
* '''Serial Number:''' {{{serial}}}
|-
| style = "background: #faa" |
* '''Name: ''' {{{toolname}}}
* '''Make/Model: ''' {{{model}}}
* '''Serial Number: ''' {{{serial}}}
* '''Original Owner:''' {{{owner}}}
* '''Original Owner:''' {{{owner}}}
* '''Removed by:''' {{{removedby}}}
* '''Removal Reason:''' {{{removalreason}}}
* '''Loan Status:''' {{{loanstatus}}}  
* '''Loan Status:''' {{{loanstatus}}}  
* '''Arrival Date:''' {{{arrived}}}
* '''Arrival Date:''' {{{arrived}}}
* '''Location: ''' {{{location}}}
* '''Removal Date:''' {{{removaldate}}}
* '''Replacements:''' {{{replacements}}}
* '''Location:''' {{{location}}}
* '''Functional Status:''' {{{status}}}
* '''Functional Status:''' {{{status}}}
* '''Usage Permissions:''' {{{permission}}}
* '''Usage Permissions:''' {{{permission}}}
* '''Certification:''' {{{certification}}}
* '''Certification:''' {{{certification}}}
|}
* '''Wiki-ID:''' [[{{{id}}}]]
</td></tr></table>
</div>
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.)
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.)
</noinclude>
</noinclude>

Latest revision as of 08:03, 25 November 2021

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:Equipment page.) 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:Equipment page.

{{Equipment page 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      = 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, 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
This article is about a tool that is no longer at Protospace.
Further information can be found below.
  • Type: {{{toolname}}}
  • Make/Model: {{{model}}}
  • Serial Number: {{{serial}}}
  • Original Owner: {{{owner}}}
  • Removed by: {{{removedby}}}
  • Removal Reason: {{{removalreason}}}
  • Loan Status: {{{loanstatus}}}
  • Arrival Date: {{{arrived}}}
  • Removal Date: {{{removaldate}}}
  • Replacements: {{{replacements}}}
  • Location: {{{location}}}
  • Functional Status: {{{status}}}
  • Usage Permissions: {{{permission}}}
  • Certification: {{{certification}}}
  • Wiki-ID: [[{{{id}}}]]

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.)