Template:R to disambiguation page: Difference between revisions
From The Goon Show Depository
en>Steel1943 (Removing wording I believe is inaccurate that didn't seem to have consensus per conversation at Template talk:R to disambiguation page#Are talk pages valid use for this?, which I've also commented in) |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users 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 | |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. | ||
|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:
This page is a redirect. The following categories are used to track and monitor this redirect:
|
- 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.