Template:Redirect category
The pages in this category are redirects. To add a redirect to this category, place {{Redirect category shell|(redirect template link)}} on the second new line (skip a line) after #REDIRECT [[Target page name]] . For more information follow the links. Never substitute redirect template(s), nor place them on soft redirects.See also the complete list of redirect templates. |
This is a maintenance category, used for the maintenance of BTW. It is not part of the encyclopedia and contains non-article pages, or groups articles by status rather than subject. Do not include this category in content categories.
This is a tracking category. It builds and maintains a list of pages primarily for the sake of the list itself. They are not part of the BTW's categorization scheme.
|
Please do not substitute this template. |
Usage[edit]
This template provides for a uniform header for use on all redirect categories. Its parameters allow modifications of the template's default output, so that each header can be customized for the specific redirect category where it is being used. To use, copy the following syntax and paste it atop the redirect category intended for its use:
{{Redirect category |text= |from= |to= |template= |parameters= |template2= |sortkey= |no_info= |soft_redirect= |not_maintenance= |shortcut= }}
Parameters[edit]
- Use
|from=
and/or|to=
to describe the purpose of the redirects in the category. - The
|template=
parameter names the {{Redirect category shell}} template in redirect categories. - Use
|parameters=
to list the associated redirect template (rcat) used with the Redirect category shell template, along with its parameters. - For
|sortkey=
, add yes for the header to include an instruction to use {{DEFAULTSORT:}} in cases where appropriate.
Unused parameters may be removed or left, blank, in place; both conditions result in the template's rendering of the default output where each modification would otherwise occur.
Categorisation[edit]
This template adds categories to Category:All redirect categories, Category:Hidden categories and Category:Redirect tracking categories.
- If the template is transcluded on a page outside of the category namespace, then that page will not be added to these categories and will be added to Category:Pages with templates in the wrong namespace instead.
TemplateData[edit]
TemplateData for Redirect category
This template provides for a uniform header for use on all redirect categories.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Redirects from | from | The sort of redirect that the template for this category should be placed on.
| Content | suggested |
Redirects to | to | The sort of page that redirects with this category's template should redirect to.
| Content | suggested |
Redirect template sample invocation | parameters | An example invocation of the redirect template for this category. Should be surrounded by {{tl}} or similar.
| Content | suggested |
Beginning text | text | Adds text to the beginning of the template message. | Content | optional |
Shortcut | shortcut | A shortcut link for this category. | Page | optional |
Suppress categorization as a redirect tracking category | fiction | If "yes", suppresses the addition of this page to Category:Redirect tracking categories. This is useful if this page is already tagged with a subcategory of that category. | String | optional |
Suppress info | no_info | If "yes", removes the warning about not substituting redirect templates or placing them on soft redirects. | String | optional |
Allow soft redirects | soft_redirect | Advanced: if "yes", indicates that this category's redirect can be used on soft redirects. This is rare, so you should check the template's documentation before adding it. | String | optional |
Suppress maintenance categorization | not_maintenance | Advanced: if "yes", do not mark this category as a maintenance category. | String | optional |
Display DEFAULTSORT notice | sortkey | Advanced: if "yes", adds note to use {{DEFAULTSORT:}} when appropriate. | String | optional |
Suppress maintenance categorization | nocat | Advanced: if "yes", do not mark this category as a maintenance category. | Unknown | optional |
Shell template | template | Advanced: the shell template to use in the example invocation. Should be entered as the name of a template, without the "Template:" prefix.
| String | optional |
Template2 | template2 | no description | Content | optional |
See also[edit]