Template:R to disambiguation page: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
</noinclude>{{Redirect template
</noinclude>{{Redirect template
   |id=R to disambiguation page
   |id=R to disambiguation page
   |name=To a disambiguation page
   |name={{c|Redirects to disambiguation pages|To a disambiguation page}}
   |to=a disambiguation page
   |to=a disambiguation page
   |info=This redirect is intended for use in links from other articles that need to refer to the disambiguation page, rather than be disambiguated.  Therefore, '''this template should only appear on a redirect page that has "(disambiguation)" at the end of its title'''.  Ambiguous titles that do not have page names ending with "(disambiguation)" should use {{tl|R from ambiguous term}} instead. For disambiguations that later prove to still be ambiguous (e.g. "(painter)" when there are multiple notable painters by the same name) and which redirect to disambiguation pages, then {{tl|R from incomplete disambiguation}} is the appropriate template.
   |info=This redirect is intended for use in links from other articles that need to refer to the disambiguation page, rather than be disambiguated.  Therefore, '''this template should only appear on a redirect page that has "(disambiguation)" at the end of its title'''.  Ambiguous titles that do not have page names ending with "(disambiguation)" should use {{tl|R from ambiguous term}} instead. For disambiguations that later prove to still be ambiguous (e.g. "(painter)" when there are multiple notable painters by the same name) and which redirect to disambiguation pages, then {{tl|R from incomplete disambiguation}} is the appropriate rcat template.
  |all category=Redirects to disambiguation pages
   |printworthy=no
   |printworthy=no
}}<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|{{#if:{{#invoke:string|endswith|{{PAGENAME}}|(disambiguation)}}||{{Mbox|type=content|image=[[File:Stop hand orange.svg|50px]]|text={{Error|The above [[WP:RCAT|rcat]] should only be used to categorize redirects that have "(disambiguation)" in their title.}}}}[[Category:Pages with incorrectly transcluded disambiguation templates]]}}}}</includeonly><noinclude>
  |main category=<!--for automatic namespace detection-->
}}<includeonly>{{Talk other|{{Incorrect redirect template|[[Help:Talk pages|talk]]||outside}}
|{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|{{#if:{{#invoke:string|endswith|{{PAGENAME}}|(disambiguation)}}|[[Category:Redirects to disambiguation pages]]|{{Mbox|type=content|image=[[File:Stop hand orange.svg|50px]]|text={{Error|The above [[WP:RCAT|rcat]] should only be used to categorize redirects that have "(disambiguation)" in their title.}}}}[[Category:Pages with incorrectly transcluded disambiguation 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 10:31, 30 August 2024

When used with the "Redirect category shell" (Rcat shell) template:

Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.

When used by itself:

  • To a disambiguation page: This is a redirect to a disambiguation page. This redirect is intended for use in links from other articles that need to refer to the disambiguation page, rather than be disambiguated. Therefore, this template should only appear on a redirect page that has "(disambiguation)" at the end of its title. Ambiguous titles that do not have page names ending with "(disambiguation)" should use {{R from ambiguous term}} instead. For disambiguations that later prove to still be ambiguous (e.g. "(painter)" when there are multiple notable painters by the same name) and which redirect to disambiguation pages, then {{R from incomplete disambiguation}} is the appropriate rcat template.