Protospace Wiki:Adding new tools: Difference between revisions
(Simplify tool procedure) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
If a tool has been donated, semi-permanently loaned, or brought into the space for a specific short-term, it is encouraged to add the tool to the "[[tools we have]]" gallery page. This will help avoid damage due to other members being uninformed about the tool's operation, maintenance, ownership, etc. Follow this procedure to achieve that. | If a tool has been donated, semi-permanently loaned, or brought into the space for a specific short-term, it is encouraged to add the tool to the "[[tools we have]]" gallery page. This will help avoid damage due to other members being uninformed about the tool's operation, maintenance, ownership, etc. Follow this procedure to achieve that. | ||
<blockquote>If a tool has been donated, semi-permanently loaned, or brought into the space for a specific short-term, it is encouraged to add the tool to the "[[tools we have]]" gallery page. This will help avoid damage due to other members being uninformed about the tool's operation, maintenance, ownership, etc. Follow this procedure to achieve that. | |||
</blockquote> | |||
==Adding a tool page== | ==Adding a tool page== | ||
1. Decide on a '''tool name''' | |||
* Try to follow the format: <code>[tool type], [distinguishing characteristics separated by commas] ([make/model])</code>. If the tool was made by a member and therefore has no make/model, use the member's name in possessive form. '''Don't add an ID number at the end yet.''' | |||
* Examples: | |||
* | |||
*:* Laser cutter, large (Rabbit Laser RL-80-1290) | *:* Laser cutter, large (Rabbit Laser RL-80-1290) | ||
*:* Counter (Fluke 1910A Multi-Counter) | *:* Counter (Fluke 1910A Multi-Counter) | ||
Line 14: | Line 16: | ||
*:* Magnifier lamp, large, without lid | *:* Magnifier lamp, large, without lid | ||
*:* Forge, propane (Jim's) | *:* Forge, propane (Jim's) | ||
2. Enter that exact name in the '''search box''' | |||
3. '''Press Enter''' | |||
3. In the middle of the search results, '''click the link''': <span style="color:red">'''"Create the page ___________ on this wiki!"'''</span>. | |||
4. Check that '''"Create source"''' tab is selected at the top. You can come back later and edit in visual mode. | |||
5. '''Paste the following''' into the text area: | |||
<pre> | <pre> | ||
Line 48: | Line 57: | ||
</pre> | </pre> | ||
6. '''Fill in''' the template. | |||
* Leave <code>photo</code>, <code>caption</code>, and <code>id</code> blank for now. With the other fields, enter a question mark or leave it blank if you don't know that information. <code>toolname</code> is not supposed to be in the same format as the page title (what you decided on in step 1); instead, it should be more of a natural-sounding but still detailed name, such as "Tormach PCNC 1100 CNC mill" or "red 12" hacksaw". For help with the other fields, see the descriptions at [[Template:Equipment page]]. | |||
* Add the appropriate information on each line, after the equals sign. | * Add the appropriate information on each line, after the equals sign. | ||
* (Optional) Add all appropriate tool categories. The current tool categories can be found listed in the "Subcategories" section of [[:Category:Tools]]. Add links to the categories (e.g., <code><nowiki>[[Category:Showcase tools]]</nowiki></code>), at the very bottom of the page's code. | |||
* (Optional) Add all appropriate tool categories. The current tool categories can be found listed in the "Subcategories" section of [[:Category:Tools]]. Add links to the categories (e.g., <code><nowiki>[[Category:Showcase tools]]</nowiki></code>), at the very bottom of the page's code. | 7. Click the '''"Show preview"''' button at the bottom of the editor to check that the page appears correctly. You should see an infobox on the right side of the preview, with the info you entered. If not, try to fix it so you do. If you don't, proceed anyway, and somebody else will probably fix it soon. | ||
8. Click the blue "'''Save page'''" button at the bottom of the editor to publish your addition. | |||
9. '''Assign a wiki-ID''' number to the tool according to [[0#I want to assign a wiki-ID number to a tool or other item|the instructions for that]]. | |||
10. '''[[Special:Upload|Upload a photo]]''' with the wiki-ID number as the filename, such as <code>512.jpg</code>. | |||
11. Edit the tool page you created to '''add the photo'''. Copy and paste the filename into the <code>photo</code> field of the equipment page template: <code><nowiki>| photo = 512.jpg</nowiki></code>. | |||
12. '''Preview and save''' the page again, preferably with an edit summary saying you added a photo. | |||
All done! Now that the tool page is created, feel free to edit in visual mode by pressing "Edit" instead of "Edit source". | |||
==(Optional) Adding your tool to the gallery== | |||
* Go to the [[tools we have]] gallery, find the appropriate section, and click the edit button on that section so you can insert an entry. Find the appropriate place in the section according to where the name you chose in step 1 fits in alphabetical order. | * Go to the [[tools we have]] gallery, find the appropriate section, and click the edit button on that section so you can insert an entry. Find the appropriate place in the section according to where the name you chose in step 1 fits in alphabetical order. | ||
** If editing in source mode, copy and paste the following code: | ** If editing in source mode, copy and paste the following code: | ||
Line 67: | Line 87: | ||
* If editing in source mode, click the "Show preview" button at the bottom of the editor to check that your addition appears correctly. (In visual mode, the editor itself serves as the preview.) If not, try to fix it so it does. If you can't, proceed anyway, and somebody else will probably fix it soon. | * If editing in source mode, click the "Show preview" button at the bottom of the editor to check that your addition appears correctly. (In visual mode, the editor itself serves as the preview.) If not, try to fix it so it does. If you can't, proceed anyway, and somebody else will probably fix it soon. | ||
* Click the "Save changes". | * Click the "Save changes". | ||
Latest revision as of 20:03, 20 April 2024
If a tool has been donated, semi-permanently loaned, or brought into the space for a specific short-term, it is encouraged to add the tool to the "tools we have" gallery page. This will help avoid damage due to other members being uninformed about the tool's operation, maintenance, ownership, etc. Follow this procedure to achieve that.
If a tool has been donated, semi-permanently loaned, or brought into the space for a specific short-term, it is encouraged to add the tool to the "tools we have" gallery page. This will help avoid damage due to other members being uninformed about the tool's operation, maintenance, ownership, etc. Follow this procedure to achieve that.
Adding a tool page
1. Decide on a tool name
- Try to follow the format:
[tool type], [distinguishing characteristics separated by commas] ([make/model])
. If the tool was made by a member and therefore has no make/model, use the member's name in possessive form. Don't add an ID number at the end yet. - Examples:
- Laser cutter, large (Rabbit Laser RL-80-1290)
- Counter (Fluke 1910A Multi-Counter)
- Function generator (John's)
- Power supply, bench, 2-channel (TENMA 72-7245)
- Vise, wood (Travis's)
- Magnifier lamp, large, without lid
- Forge, propane (Jim's)
2. Enter that exact name in the search box
3. Press Enter
3. In the middle of the search results, click the link: "Create the page ___________ on this wiki!".
4. Check that "Create source" tab is selected at the top. You can come back later and edit in visual mode.
5. Paste the following into the text area:
{{Equipment page | toolname = | model = | serial = | owner = | loanstatus = | arrived = | location = | status = | permission = | certification = | photo = | caption = | id = }} ==Specs== TBD ==Usage== TBD ==Troubleshooting== TBD ==Documentation== TBD
6. Fill in the template.
- Leave
photo
,caption
, andid
blank for now. With the other fields, enter a question mark or leave it blank if you don't know that information.toolname
is not supposed to be in the same format as the page title (what you decided on in step 1); instead, it should be more of a natural-sounding but still detailed name, such as "Tormach PCNC 1100 CNC mill" or "red 12" hacksaw". For help with the other fields, see the descriptions at Template:Equipment page. - Add the appropriate information on each line, after the equals sign.
- (Optional) Add all appropriate tool categories. The current tool categories can be found listed in the "Subcategories" section of Category:Tools. Add links to the categories (e.g.,
[[Category:Showcase tools]]
), at the very bottom of the page's code.
7. Click the "Show preview" button at the bottom of the editor to check that the page appears correctly. You should see an infobox on the right side of the preview, with the info you entered. If not, try to fix it so you do. If you don't, proceed anyway, and somebody else will probably fix it soon.
8. Click the blue "Save page" button at the bottom of the editor to publish your addition.
9. Assign a wiki-ID number to the tool according to the instructions for that.
10. Upload a photo with the wiki-ID number as the filename, such as 512.jpg
.
11. Edit the tool page you created to add the photo. Copy and paste the filename into the photo
field of the equipment page template: | photo = 512.jpg
.
12. Preview and save the page again, preferably with an edit summary saying you added a photo.
All done! Now that the tool page is created, feel free to edit in visual mode by pressing "Edit" instead of "Edit source".
(Optional) Adding your tool to the gallery
- Go to the tools we have gallery, find the appropriate section, and click the edit button on that section so you can insert an entry. Find the appropriate place in the section according to where the name you chose in step 1 fits in alphabetical order.
- If editing in source mode, copy and paste the following code:
File:FILENAME |link=TOOLDESCRIPTION |[[TOOLDESCRIPTION]]
- If editing in visual mode, double-click the gallery in the appropriate section (or click once to select it and then click the "Edit" button that appears), then click "+ Add new image" at the bottom-left of the popup window. In the search box, type in the filename of the image, including the filename extension. When the image appears, click it. It will join the others in the column on the left; drag it to the appropriate alphabetical position. Don't close the popup window yet.
- If editing in source mode, copy and paste the following code:
- Fill in the info:
- If editing in source mode, edit the line with
FILENAME
after the name of the image you uploaded, such asFile:512.jpg
orFile:Red hacksaw.jpg
, and replace the words "TOOLDECRIPTION" with the page you wish to link. Example: replacelink=TOOLDESCRIPTION
withlink=Hacksaw, 12", red ID:512
and[[TOOLDESCRIPTION]]
with[[Hacksaw, 12", red ID:512]]
. Be careful to not delete the pipes (|
), and make sure there are no spaces between the second pipe and the beginning of the link code ([[
). It should look like this:File:512.jpg|link=Hacksaw, 12", red ID:512 |[[Hacksaw, 12", red ID:512]]
- If editing in visual mode, click the link button (with the chain icon) at the top of the caption field below the image on the right side of the popup window. Start typing the title of the page you created, and click it when it appears in the suggestions. Now click the blue "Apply changes" button at the top-right of the popup window. Editing visually, you can't set the
link=
parameter; somebody else might do that, or you can add it yourself by editing again in source mode.
- If editing in source mode, edit the line with
- If editing in source mode, click the "Show preview" button at the bottom of the editor to check that your addition appears correctly. (In visual mode, the editor itself serves as the preview.) If not, try to fix it so it does. If you can't, proceed anyway, and somebody else will probably fix it soon.
- Click the "Save changes".