Template:R to redirect template/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth |
meta>Paine Ellsworth (update /doc) |
||
Line 3: | Line 3: | ||
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}} | {{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}} | ||
__NOTOC__ | __NOTOC__ | ||
=== Usage === | === Usage === | ||
{{hatnote|This rcat template is usually used in '''[[wp:template namespace|template namespace]]'''; however, it can be used in '''any [[wp:namespace|namespace]]'''.}} | {{hatnote|This rcat template is usually used in '''[[wp:template namespace|template namespace]]'''; however, it can be used in '''any [[wp:namespace|namespace]]'''.}} | ||
* This redirect category ([[wp:RCAT|rcat]]) template populates {{Cat|Redirects to redirect templates}} by default. If placed on a page in a namespace other than template space, then it will also populate {{cat|Redirects to template from non-template namespace}}. | * This redirect category ([[wp:RCAT|rcat]]) template populates {{Cat|Redirects to redirect templates}} by default. If placed on a page in a namespace other than template space, then it will also populate {{cat|Redirects to template from non-template namespace}} (for [[WP:PNR|PNR]]s and [[WP:CNR|CNR]]s). When it is used to tag a [[WP:Mainspace|main-article namespace]] (mainspace) redirect, then it will also populate {{cat|Unprintworthy redirects}} by default. At some point in the future, [[Jimmy Wales]] wants to make more {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}} of ''Wikipedia'' encyclopedia articles. Redirects in mainspace that target pages in the template namespace are not suitable for a printed version. In other words they are [[WP:Printworthiness|unprintworthy]]. | ||
* Add this rcat to a [[Wikipedia:Redirect|redirect page]] in the following manner: | * Add this rcat to a [[Wikipedia:Redirect|redirect page]] in the following manner: | ||
<pre> | <pre> | ||
#REDIRECT [[Template:(target page name)]] | #REDIRECT [[Template:(target page name)]] | ||
{{ | {{Rcat shell| | ||
{{R to redirect template}} | |||
}} | |||
</pre> | |||
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged: | |||
<pre> | |||
#REDIRECT [[Template:(target page name)]] | |||
{{Rcat shell| | |||
{{R to redirect template}} | |||
{{R unprintworthy}} | |||
}} | |||
</pre> | </pre> | ||
: Template {{tl| | : Template {{tl|Rcat shell}} is an alias for the ''Redirect category shell'' template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually: | ||
<pre> | <pre> | ||
#REDIRECT [[Template:(target page name)]] | #REDIRECT [[Template:(target page name)]] | ||
Line 20: | Line 30: | ||
</pre> | </pre> | ||
: This is in accord with instructions found at [[WP:REDCAT]]. | : This is in accord with instructions found at [[WP:REDCAT]]. | ||
* Use this rcat to tag any redirect that targets a redirect category (rcat) template. The redirect may be a [[wp:shortcut|shortcut]] or the result of a page move/rename. | * Use this rcat to tag any redirect that targets a redirect category (rcat) template. The redirect may be a [[wp:shortcut|shortcut]] or the result of a page move/rename. When the redirect is a shortcut, then it is a "template shortcut" no matter what namespace it is in and should also be tagged with {{tl|R from template shortcut}}. | ||
==== Aliases ==== | ==== Aliases ==== |
Revision as of 03:04, 1 September 2016
This is a documentation subpage for Template:R to redirect template. It may contain usage information, categories and other content that is not part of the original template page. |
This template should not be substituted nor used to tag soft redirects. |
Usage
This rcat template is usually used in template namespace; however, it can be used in any namespace.
- This redirect category (rcat) template populates Category:Redirects to redirect templates by default. If placed on a page in a namespace other than template space, then it will also populate Category:Redirects to template from non-template namespace (for PNRs and CNRs). When it is used to tag a main-article namespace (mainspace) redirect, then it will also populate Category:Unprintworthy redirects by default. At some point in the future, Jimmy Wales wants to make more printed versions of Wikipedia encyclopedia articles. Redirects in mainspace that target pages in the template namespace are not suitable for a printed version. In other words they are unprintworthy.
- Add this rcat to a redirect page in the following manner:
#REDIRECT [[Template:(target page name)]] {{Rcat shell| {{R to redirect template}} }}
- and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[Template:(target page name)]] {{Rcat shell| {{R to redirect template}} {{R unprintworthy}} }}
- Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[Template:(target page name)]] {{R to redirect template}}
- This is in accord with instructions found at WP:REDCAT.
- Use this rcat to tag any redirect that targets a redirect category (rcat) template. The redirect may be a shortcut or the result of a page move/rename. When the redirect is a shortcut, then it is a "template shortcut" no matter what namespace it is in and should also be tagged with {{R from template shortcut}}.
Aliases
- Also known as... – list of templates that redirect here and may also be used