Template:EquipmentPage: Difference between revisions
From Pumping Station One
No edit summary |
Ok different change, only tools that are NOT "removed" will show up in Category:Equipment. Anything else will got to Category:EquipmentRemoved. |
||
| (31 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#ifeq: {{{where|}}} | Removed | [[Category:Removed Equipment]] {{mbox |type=notice |text=<span style="font-size: 150%; font-weight: bold; color: red; ">This tool is no longer at the space. [[Equipment|Find what actually exists at PS1 on the Equipment page.]]</span> [[File:Oscar The Grouch.png|right|32px]]}} | [[Category:Equipment]] {{#if: {{{image|}}} | | [[Category:Photographs_Needed]] }}{{#switch: {{{doesitwork|}}} | yes | "yes" | Yes | "Yes" | YES | "YES" | y | "y" | Y | "Y" = | [[Category:Broken Equipment]] {{mbox |type=notice |text=This tool is currently broken, please contact the area host for more information. }} }}{{#if: {{{hostarea|}}} | [[Category:{{{hostarea}}}]] | [[Category:EquipmentPageErrorNoAreahost]] }}{{#switch: {{{certification|}}} yes | "yes" | Yes | "Yes" | YES | "YES" | y | "y" | Y | "Y" = | [[Category:AuthorizationRequired]] }}}}</includeonly>{{Template:EquipmentLabel | ||
[[Category:Equipment]] | | owner = {{{owner}}} | ||
{{#if: {{{image|}}} | | [[Category:Photographs_Needed]] }} | | authorization = {{{certification}}} | ||
{{#switch: {{{doesitwork|}}} | yes | "yes" | Yes | "Yes" | YES | "YES" | y | "y" | Y | "Y" = | [[Category:Broken Equipment]] {{mbox |type=notice |text=This tool is currently broken, please contact the area host for more information. }} }} | | hackable = {{{hackable}}} | ||
{{#if: {{{hostarea|}}} | [[Category:{{{hostarea}}}]] | }} | | hostarea = {{{hostarea}}} | ||
{{# | }}<br> | ||
< | |||
{{Infobox Equipment | {{Infobox Equipment | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| Line 16: | Line 14: | ||
| contact = {{{contact}}} | | contact = {{{contact}}} | ||
| where = {{{where}}} | | where = {{{where}}} | ||
| | | authorization = {{{certification}}} | ||
| hackable = {{{hackable}}} | | hackable = {{{hackable}}} | ||
| value = {{{value}}} | | value = {{{value}}} | ||
| hostarea = {{{hostarea}}} | | hostarea = {{{hostarea}}} | ||
}} | }}{{#subobject: | ||
{{#subobject: | |||
|Has value={{{value|}}} | |Has value={{{value|}}} | ||
}} | }}<noinclude> | ||
<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 18:25, 24 April 2025
| Owner/Loaner | {{{owner}}} |
|---|---|
| Serial Number | {{{serial}}} |
| Make/Model | {{{model}}} |
| Arrival Date | {{{arrived}}} |
| Usability | {{{doesitwork}}} |
| Contact | {{{contact}}} |
| Where | {{{where}}} |
| Authorization Needed | {{{certification}}} |
| Hackable | {{{hackable}}} |
| Estimated Value | {{{value}}} |
| Host Area | {{{hostarea}}} |
This is the MediaWiki Equipment Template, please don't mess with the template (Template:EquipmentPage) unless you know what you are doing
Template Info
This page is a master list for all of the equipment at Pumping Station:One. QR Code images and general information are generated with a simple MediaWiki template.
- Create the new page
- Create a wiki page by typing a new page address into the address bar of your browser "https://wiki.pumpingstationone.org/New_Equipment_Name" where "New_Equipment_Name" is replaced with the name of the piece of equipment you want to make a page for. If an existing page already has the same name, you will need to chose an alternate name. For further help see Starting a new page
- Add the "Equipment Template"
- To add the Equipment Template to your new equipment page copy the code below into the new page.
- You may have to click "view" in the template documentation to be able to highlight the code.
- Modify the parameters to accurately describe the new equipment. Check an existing page to see how the parameters are used.
{{Template:EquipmentPage
|owner = "PS:One" or link to user page of contact person
|hostarea = PLEASE, PLEASE, PLEASE set this to one of the subcategories found in [[Category:Equipment]], this will ensure that the the equipment page will get listed in the subcategory for each PS:One Area
|certification = "yes" OR "no"
|hackable = "yes" OR "no"
|model = MODEL NUMBER
|serial = SERIAL NUMBER
|arrived = DATE
|where = LOCATION or "Removed" (if set to "Removed" a banner will be displayed on the page indicating the tool is no longer at the space)
|doesitwork = "yes" or "no" (if set to 'no", a banner will be displayed on the page indicating the tool is broken and it will be automatically added to the "Broken Equipment" category)
|contact = Link to user page of contact person
|value = $999
|image = "IMAGENAME.JPG" (case sensitive, this is whatever you named the image when you uploaded it)
}}
- Upload a picture via this page
- Make sure you set and remember the "Destination filename" field. This is what you put in the image="IMAGENAME.JPG" parameter. See section on template fields.

- You may get a warning about an existing image/file. Ether
- update the existing version by clicking on the filename and then on "Upload a new version of this file" bellow the "File History"
- OR
- change the "Destination filename" field
- Additional headerings and information
- Feel free to add a new header and more information as appropriate. For further help with wiki formatting
- Authorized Users List (if needed)
- Add a table do document authorized users for the equipment by copying the code below. For further help with tables
'''This tool requires certification for use.'''
== List of Currently Certified Users ==
{| class="wikitable" border="1"
! Qualified Member
! Trained By
|-
|Name of member
|Who qualified them
|
|-}
- Additional members may be added by extending the list as follows:
'''This tool requires certification for use.'''
== List of Currently Certified Users ==
{| class="wikitable" border="1"
! Qualified Member
! Trained By
|-
|Name of member1
|Who qualified member1
|-
|Name of member2
|Who qualified member2
|
|-}
- Save the page
| The above documentation is transcluded from Template:EquipmentPage/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |