Template:EquipmentPage/doc: Difference between revisions
From Pumping Station One
Rtystgeeke (talk | contribs) |
No edit summary |
||
| Line 1: | Line 1: | ||
'''''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. | 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 <nowiki>"https://wiki.pumpingstationone.org/New_Equipment_Name"</nowiki> 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 [https://www.mediawiki.org/wiki/Help:Starting_a_new_page 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. | |||
<nowiki>{{Template:EquipmentPage | <nowiki>{{Template:EquipmentPage | ||
|owner = "PS:One" or link to user page of contact person | |owner = "PS:One" or link to user page of contact person | ||
|hostarea = 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" | |certification = "yes" OR "no" | ||
|hackable = "yes" OR "no" | |hackable = "yes" OR "no" | ||
| Line 12: | Line 20: | ||
|serial = SERIAL NUMBER | |serial = SERIAL NUMBER | ||
|arrived = DATE | |arrived = DATE | ||
|doesitwork = "yes" or "no" | |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) | ||
|contact = | |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 = | |value = $999 | ||
|image = "IMAGENAME.JPG" | |image = "IMAGENAME.JPG" (case sensitive, this is whatever you named the image when you uploaded it) | ||
}}</nowiki> | }}</nowiki> | ||
; Upload a picture via [[Special:Upload|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. | |||
: [[File:ScreenshotUploadPage.jpg|300px]] | |||
: 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 [https://www.mediawiki.org/wiki/Help:Formatting 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 [https://www.mediawiki.org/wiki/Help:Tables tables] | |||
<nowiki> | <nowiki> | ||
'''This tool requires certification for use.''' | '''This tool requires certification for use.''' | ||
| Line 40: | Line 53: | ||
|-} | |-} | ||
</nowiki> | </nowiki> | ||
: Additional members may be added by extending the list as follows: | |||
Additional members may be added by extending the list as follows: | |||
<nowiki> | <nowiki> | ||
'''This tool requires certification for use.''' | '''This tool requires certification for use.''' | ||
| Line 56: | Line 68: | ||
| | | | ||
|-}</nowiki> | |-}</nowiki> | ||
; Save the page | |||