Jump to content

Template:R to user namespace/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
creation
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{Substitution|not|nor used to tag [[BattleTechWiki:Soft redirects|soft redirects]]}}
{{Substitution|not|nor used to tag [[BattleIntelligence:Soft redirects|soft redirects]]}}
{{Tsh|R to user}}
{{Tsh|R to user}}
__NOTOC__
__NOTOC__
Line 11: Line 11:


=== Usage ===
=== Usage ===
{{hatnote|Use this rcat template in any [[BTW:namespace|namespace]] '''except [[BattleTechWiki:User pages|user namespace]]'''.}}
{{hatnote|Use this rcat template in any [[BTW:namespace|namespace]] '''except [[BattleIntelligence:User pages|user namespace]]'''.}}
* Apply this rcat to a redirect in the following manner:
* Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
Line 35: Line 35:
{{R to user namespace}}
{{R to user namespace}}
</syntaxhighlight>
</syntaxhighlight>
: This is in accord with instructions found at [[BattleTechWiki:REDCAT]].
: This is in accord with instructions found at [[BattleIntelligence:REDCAT]].
* Use this rcat to tag any redirect from a page ''outside'' of [[BattleTechWiki:User pages|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.  
* Use this rcat to tag any redirect from a page ''outside'' of [[BattleIntelligence:User pages|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.''
:: ''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.''



Latest revision as of 01:03, 1 May 2025

Purpose

This redirect category (rcat) template sorts redirects into two categories:

  1. Category:Redirects to user namespace – for cross-namespace redirects, and
  2. 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:

Note: three rcat templates in italics also sort redirects from within their namespaces.