Template:RenameCategory View history

Revision as of 17:01, 21 May 2017 by Kentsmith9 (talk | contribs) (changed mbox to caution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This category should be renamed to sentence case. This is done by editing each page linked to this one. Rename the category link (on the doc page for templates). If a doc page is updated, be sure to edit and save the main page with no changes. That will force the category name to be updated. When all links to this category are removed, delete this category, or add {{Delete page}} to the category page.
Documentation icon Template documentation[view] [edit] [history] [purge]

This template is placed on a category page that needs to be renamed. Reasons include typos, changing to sentence case, removing unnecessary plural form, etc.

Place {{RenameCategory}} on the category page to display the above message.

Parameters

There are two optional parameters.

Unnamed

When provided, the first unnamed parameter will display a link to the category for which this category should be renamed. Each page that includes the old named category should be updated with the new category name. If the parameter is not included, the template will say the category needs to be renamed to sentence case, but will not include a link, so it is better to always include the parameter.

Target

When |target=on is added, the template is used on the target category page to point back to the category page being renamed. At this time, the template is unable to determine the existence of a category page, so it will show up red after the source page is deleted. At that time the template can be removed.

When the |target= is used, the unnamed parameter becomes required, or the template will not make sense since the target category is hopefully already spelled correctly or in sentence case.

The above documentation is transcluded from Template:RenameCategory/doc.
Please add categories to the /doc subpage.
Subpages of this template.