Template:R to user namespace: Difference between revisions
Appearance
imported>Deadfire creation |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 3: | Line 3: | ||
|id=R to user namespace | |id=R to user namespace | ||
|name=[[:Category:Redirects to user namespace|From outside userspace]] | |name=[[:Category:Redirects to user namespace|From outside userspace]] | ||
|from=a page outside the [[ | |from=a page outside the [[BattleIntelligence:User pages|user namespace]] | ||
|to=a user page (not to a user ''talk page'') | |to=a user page (not to a user ''talk page'') | ||
|info=If this redirect targets a user talk page, then use {{tlx|R to talk page}} instead. This redirect page ''must be '''outside'''<nowiki />'' the user namespace. If this redirect is in the user namespace, then instead of the expected category, it will populate '''{{cat|Pages with templates in the wrong namespace}}'''. | |info=If this redirect targets a user talk page, then use {{tlx|R to talk page}} instead. This redirect page ''must be '''outside'''<nowiki />'' the user namespace. If this redirect is in the user namespace, then instead of the expected category, it will populate '''{{cat|Pages with templates in the wrong namespace}}'''. | ||
|printworthy=no | |printworthy=no | ||
}}<includeonly>{{User other|{{Incorrect redirect template|[[ | }}<includeonly>{{User other|{{Incorrect redirect template|[[BattleIntelligence:User pages|user]]||outside}}|[[Category:Redirects to user namespace]]}}{{#ifeq: {{BASEPAGENAME}}|R to user namespace||{{#ifeq: {{NAMESPACE:{{#invoke:redirect|main|{{FULLPAGENAME}}}}}}|{{ns:2}}||{{info|image=Stop hand nuvola.svg|{{error|The above template is being used incorrectly. Please remove it from this redirect.}}}}[[category:Pages with incorrectly transcluded templates]]}}}}</includeonly><noinclude> | ||
<!-- Place categories on /doc subpage; interwikis go to Wikidata. --> | <!-- Place categories on /doc subpage; interwikis go to Wikidata. --> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 01:13, 1 May 2025
When used with the "Redirect category shell" (Rcat shell) template:
|
- Template {{Redirect category shell}} may be used to add one or more redirect cat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.
When used by itself:
- From outside userspace: This is a redirect from a page outside the user namespace to a user page (not to a user talk page). If this redirect targets a user talk page, then use
{{R to talk page}}instead. This redirect page must be outside the user namespace. If this redirect is in the user namespace, then instead of the expected category, it will populate Category:Pages with templates in the wrong namespace.
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| This template should not be substituted nor used to tag soft redirects. |
Purpose
This redirect category (rcat) template sorts redirects into two categories:
- Category:Redirects to user namespace – for cross-namespace redirects, and
- Category:Unprintworthy redirects – only redirects from the main-article namespace (mainspace)
This rcat is not for use on redirects that are in the user namespace. If placed on a redirect that is a user page, it will not populate the expected categories; it will instead be sorted to Category:Pages with templates in the wrong namespace.
Usage
- Apply this rcat to a redirect in the following manner:
#REDIRECT [[User:(target page name)]]
{{Rcat shell|
{{R to user namespace}}
}}- and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[User:(target page name)]]
{{Rcat shell|
{{R to user namespace}}
{{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 [[User:(target page name)]]
{{R to user namespace}}- This is in accord with instructions found at BattleIntelligence:REDCAT.
- Use this rcat to tag any redirect from a page outside of user namespace to a page in user namespace. This rcat should never be used to tag a redirect in user namespace that targets any other page.
- As noted, this rcat may be used to categorize a user talk-page redirect that targets a user page, however it should never be used to tag a redirect that targets a user talk page nor any talk page.
See also
Redirects to other namespaces family:
- {{R to main namespace}}
- {{R to talk page}}
- {{R to user namespace}}
- {{R to project namespace}}
- {{R to template namespace}}
- {{R to help namespace}}
- {{R to category namespace}}
- {{R to policy namespace}}
- {{R to draft namespace}}
- {{R to portal namespace}}
- {{R to guideline namespace}}
- {{R to information namespace}}
Note: three rcat templates in italics also sort redirects from within their namespaces.