Jump to content

Template:R to subpage/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
mNo edit summary
 
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]]}}


__NOTOC__
__NOTOC__
== Usage ==
== Usage ==
{{hatnote|Use this rcat template in '''any [[BattleTechWiki:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[BattleIntelligence:namespace|namespace]]'''.}}
* This redirect category ([[BTW:RCAT|rcat]]) template populates {{Cat|Redirects to subpages}}.  Add this rcat to a [[BattleTechWiki:Redirect|redirect]] in the following manner:
* This redirect category ([[BTW:RCAT|rcat]]) template populates {{Cat|Redirects to subpages}}.  Add this rcat to a [[BattleIntelligence:Redirect|redirect]] in the following manner:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
#REDIRECT [[(full target page name)]]
#REDIRECT [[(full target page name)]]
Line 20: Line 20:
{{R to subpage}}
{{R to subpage}}
</syntaxhighlight>
</syntaxhighlight>
: This is in accord with instructions found at [[BattleTechWiki:REDCAT]].
: This is in accord with instructions found at [[BattleIntelligence:REDCAT]].
* With exceptions noted below, use this rcat to tag any redirect in any namespace that targets the [[BattleTechWiki:Subpages|subpage]] of another page.
* With exceptions noted below, use this rcat to tag any redirect in any namespace that targets the [[BattleIntelligence:Subpages|subpage]] of another page.


=== When not to use this template ===
=== When not to use this template ===
Please note that not every page title with "/" in its title is a subpage. This rcat template does not need to be used on redirects that contain this character if they are:
Please note that not every page title with "/" in its title is a subpage. This rcat template does not need to be used on redirects that contain this character if they are:
*To an encyclopedia article (articles do not have subpages).
*To an encyclopedia article (articles do not have subpages).
*To a ''BattleTechWiki: Manual of Style'' guideline (they are all guidelines in their own right; while they are arranged hierarchically as part of the Manual of Style "virtual book", they are stand-alone documents and are not subpages of [[BTW:MOS]]).
*To a ''BattleIntelligence: Manual of Style'' guideline (they are all guidelines in their own right; while they are arranged hierarchically as part of the Manual of Style "virtual book", they are stand-alone documents and are not subpages of [[BTW:MOS]]).
*To a subpage after a move from an older subpage name (there is probably no utility at all in cataloguing "Template:FooBar/doc" with more rcats than "from move" if the page was moved to "Template:BarFoo/doc" following the move of the parent template).
*To a subpage after a move from an older subpage name (there is probably no utility at all in cataloguing "Template:FooBar/doc" with more rcats than "from move" if the page was moved to "Template:BarFoo/doc" following the move of the parent template).
It also should not be used for redirects to "conceptually subordinate" pages that do not have "/" in their names, such as:
It also should not be used for redirects to "conceptually subordinate" pages that do not have "/" in their names, such as:
Line 37: Line 37:
* When a ''BTW:...'' shortcut goes to a page that is primarily intended for and used as a transclusion
* When a ''BTW:...'' shortcut goes to a page that is primarily intended for and used as a transclusion
* When a ''Template:...'' redirect exists to a template that is mostly used as, and structured as a sub-template module of a larger meta-template.
* When a ''Template:...'' redirect exists to a template that is mostly used as, and structured as a sub-template module of a larger meta-template.
* When a ''BattleTechWiki:...'' redirect exists at the former or easily misremembered location of, or a ''WP:...'' shortcut goes to, something that is presently a sub-process of something else
* When a ''BattleIntelligence:...'' redirect exists at the former or easily misremembered location of, or a ''WP:...'' shortcut goes to, something that is presently a sub-process of something else


== Aliases ==
== Aliases ==

Latest revision as of 00:12, 1 May 2025


Usage

#REDIRECT [[(full target page name)]]

{{Rcat shell|
{{R to subpage}}
}}
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 [[(full target page name)]]

{{R to subpage}}
This is in accord with instructions found at BattleIntelligence:REDCAT.
  • With exceptions noted below, use this rcat to tag any redirect in any namespace that targets the subpage of another page.

When not to use this template

Please note that not every page title with "/" in its title is a subpage. This rcat template does not need to be used on redirects that contain this character if they are:

  • To an encyclopedia article (articles do not have subpages).
  • To a BattleIntelligence: Manual of Style guideline (they are all guidelines in their own right; while they are arranged hierarchically as part of the Manual of Style "virtual book", they are stand-alone documents and are not subpages of BTW:MOS).
  • To a subpage after a move from an older subpage name (there is probably no utility at all in cataloguing "Template:FooBar/doc" with more rcats than "from move" if the page was moved to "Template:BarFoo/doc" following the move of the parent template).

It also should not be used for redirects to "conceptually subordinate" pages that do not have "/" in their names, such as:

  • Templates that pertain to a wikiproject but are not subpages under it.
  • Narrow-topic articles that were BTW:SPLIT from a more general article, per BTW:SUMMARY.
  • Naming convention guidelines such as those in the BTW:Article titles policy, they are not subpages of it in any useful sense.

Good uses for this template

Some examples:

  • When a BTW:... shortcut goes to a page that is primarily intended for and used as a transclusion
  • When a Template:... redirect exists to a template that is mostly used as, and structured as a sub-template module of a larger meta-template.
  • When a BattleIntelligence:... redirect exists at the former or easily misremembered location of, or a WP:... shortcut goes to, something that is presently a sub-process of something else

Aliases

</syntaxhighlight>

Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.

See also