Protospace Wiki:Adding new tools: Difference between revisions

Remove more info, add upload link
(Remove extra info)
(Remove more info, add upload link)
Line 57: Line 57:
#*# Click the blue "Save page" button at the top-right of the editor to publish your addition.
#*# Click the blue "Save page" button at the top-right of the editor to publish your addition.
# 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]].
# 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]].
# Upload a photo with the wiki-ID number as the filename, such as <code>512.jpg</code>.
# [[Special:Upload|Upload a photo]] with the wiki-ID number as the filename, such as <code>512.jpg</code>.
# 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>512.jpg</nowiki></code>.
# 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>.
# Preview and save the page again, preferably with an edit summary saying you added a photo.
# Preview and save the page again, preferably with an edit summary saying you added a photo.
# 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.
Line 65: Line 65:
#* 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 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.
# Fill in the info:
# Fill in the info:
#* If editing in source mode, edit the line with <code>FILENAME</code> after the name of the image you uploaded, such as <code>File:512.jpg</code> or <code>File:Red hacksaw.jpg</code>, and replace the words "TOOLDECRIPTION" with the page you wish to link.  Example: replace <code>link=TOOLDESCRIPTION</code> with <code>link=Hacksaw, 12", red ID:512</code> and <code><nowiki>[[TOOLDESCRIPTION]]</nowiki></code> with <code><nowiki>[[Hacksaw, 12", red ID:512]]</nowiki></code>.  Be careful to not delete the pipes (<code>|</code>), and make sure there are no spaces between the second pipe and the beginning of the link code (<code><nowiki>[[</nowiki></code>).  It should look like this: <pre>File:512.jpg|link=Hacksaw, 12", red ID:512 |[[Hacksaw, 12", red ID:512]]</pre>.
#* If editing in source mode, edit the line with <code>FILENAME</code> after the name of the image you uploaded, such as <code>File:512.jpg</code> or <code>File:Red hacksaw.jpg</code>, and replace the words "TOOLDECRIPTION" with the page you wish to link.  Example: replace <code>link=TOOLDESCRIPTION</code> with <code>link=Hacksaw, 12", red ID:512</code> and <code><nowiki>[[TOOLDESCRIPTION]]</nowiki></code> with <code><nowiki>[[Hacksaw, 12", red ID:512]]</nowiki></code>.  Be careful to not delete the pipes (<code>|</code>), and make sure there are no spaces between the second pipe and the beginning of the link code (<code><nowiki>[[</nowiki></code>).  It should look like this: <pre>File:512.jpg|link=Hacksaw, 12", red ID:512 |[[Hacksaw, 12", red ID:512]]</pre>
#* 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 <code>link=</code> parameter; somebody else might do that, or you can add it yourself by editing again in source mode.
#* 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 <code>link=</code> parameter; somebody else might do that, or you can add it yourself by editing again in source mode.
# 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" (at the bottom in source mode or the top-right in visual mode) button to publish your addition, preferably with an edit summary saying which tool you added.
# Click the "Save changes".


==Assigning a wiki-ID to a tool that doesn't have one==
==Assigning a wiki-ID to a tool that doesn't have one==