Template:RenameCategory/doc View history

(need to update template)
(more instructions)
Line 1: Line 1:
{{doc subpage}}
{{doc subpage}}
{{mbox
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.
| type = construction
 
| text = Add code to enable passing a category name to replace the current one, or if it does not get passed, use the sentence case description.
Place {{tl|RenameCategory}} on the category page to display the above message.
}}
 
This template is placed on a category page that is spelled with title case when it should be sentence case. Place {{tl|RenameCategory}} on the category page to display the above message.
== Parameters ==
There is only one optional parameter. When provided, it 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.


<includeonly>
<includeonly>

Revision as of 16:13, 21 May 2017

This is a documentation subpage for Template:RenameCategory.
It contains usage information, categories and other content that is not part of the original template page.

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 is only one optional parameter. When provided, it 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.