Template:Category redirect/doc
Jump to navigation
Jump to search
{{
#ifeq: Template | Template | {{ #ifeq: {{ #if: | {{{reusedemo}}} | Wiki.jriver.com }} | Wikia Templates | {{ #ifeq: Category redirect | {{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | -1 }} | doc | Category redirect | Category redirect/doc }} | | :Error: {{{name}}} parameter is unused or incorrect! Please replace{{SPW{{ #if: is not on | |is not on }}{{ #ifeq: Category redirect | ¬ | | |name=Category redirect }}}}
with{{SPW{{ #if: is not on | |is not on }}|name=Category redirect}}
.
}}:{{ #switch: is not on | is on = This template or a similar one is on the Starter Pages Wikia, whence it is incorporated in every new Wikia site and can be copied to older ones. | is newer = This template is newer than a similar one on the Starter Pages Wikia. This template may therefore have bug fixes or improvements when compared to the older version.{{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | 1 }} | SPW | | {{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | -1 }} | doc | | }} }} | is not on = This template is not on the Starter Pages Wikia. It can be copied to other Wikia sites, but it is not included on any by default.{{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | 1 }} | SPW | | {{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | -1 }} | doc | | }} }} | #default = Editors have not checked whether this template is or is not on the Starter Pages Wikia.{{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | 1 }} | SPW | | {{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | -1 }} | doc | | }} }} }}
|
Error creating thumbnail: File missing | This template was copied from Template:Category redirect on Wikia Templates. That wiki should periodically be checked for a new version of this template. |
{{ #ifeq: {{ #titleparts: Category redirect/doc | 1 | -1 }} | doc | | }} }}
}}
- Description
- This template adds a category page to Category redirects while indicating to viewers that the category should not be used and pointing to the desired alternative.
- Syntax
- To redirect from Category:1921 deaths to Category:Died in 1921 if the latter already exists, simply add the following to Category:1921 deaths:
{{category redirect|Died in 1921}}
- Notes
-
- Please do not use
subst:
on the template. - This template should be used only on category pages.
- Please do not use
- See also