Template:R to disambiguation page: Difference between revisions

From Bharatpedia, an open encyclopedia
>SD0001
m (Add |id= parameter)
 
m (→‎top: clean up, replaced: WP: → BP:)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
   |all category=Redirects to disambiguation pages
   |all category=Redirects to disambiguation pages
   |printworthy=no
   |printworthy=no
}}<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|{{#ifeq:{{str rightc|{{PAGENAME}}|16}}|(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>
}}<includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{FULLPAGENAME}}}}|yes|{{#ifeq:{{str rightc|{{PAGENAME}}|16}}|(disambiguation)||{{Mbox|type=content|image=[[File:Stop hand orange.svg|50px]]|text={{Error|The above [[BP: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 11:18, 1 June 2021

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)" may 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 template.