Template:Tool

    

 



{{Documentation|content= {{Uses TemplateStyles|Template:Infobox/styles.css|Template:Skin/styles.css|Template:Extension/status.css}}

{{anchor|Purpose}}

Purpose
This template should be added to the main page of all tools documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the tool to, plus the appropriate and  categories.

Usage
$($| width="100%" ! width=40% | ! width=60% | Copy and paste:
 * - valign="top"
 * align="left" |

For help with parameter values, see below.


 * align="right"|

Content parameters
This section describes parameters that govern infobox content. For help with templatemode and other control parameters, please see Control parameters.

Existing tools pages
If you want to add the infobox to an existing page, copy and paste the code at the top of this page.

Infobox parameters
In general:
 * To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the content parameter documentation and link its label to its documentation.

To change/correct/add to the implementation type parameters (, etc.):
 * Discuss the change on the talk page
 * Template:Tool/TypeSwitch: Stores the possible values for the type field. Multiple values are implemented by calling this template with Template:Foreach.
 * Template:Tool/TypeSwitchNoCats: Used instead of Template:Tool/TypeSwitch when this template is used in .  Templates used with Template:Foreach can only take one parameter so we need to wrap the call to Template:Tool/TypeSwitch with another template that sets the mode.

Test case
See if the following pages are still ok, after edited this template.
 * PhotoCommons

}}