Jump to content

Template:R to template 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. -->
<!-- Categories go where indicated at the bottom of this page. -->
{{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 template}}
{{Tsh|R to template}}
__NOTOC__
__NOTOC__

Latest revision as of 01:03, 1 May 2025

Purpose

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

  1. {{Cat|Redirects to template namespace}
  2. Category:Unprintworthy redirects

This rcat should not be used to tag redirects that are inside the template namespace. If placed on a redirect that is a template page, this rcat will not populate the expected category(ies). The redirect 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 [[Template:(target page name)]]

{{Rcat shell|
{{R to template namespace}}
}}
and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[Template:(target page name)]]

{{Rcat shell|
{{R to template 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 [[Template:(target page name)]]

{{R to template namespace}}
  • Use this rcat to tag any redirect from a page outside of the template namespace that targets a page inside the template namespace.
This rcat should never be used on a redirect page that is in the template namespace.

See also

Redirects to other namespaces family:

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