Template:R from alternative name/doc: Difference between revisions
meta>Paine Ellsworth m →See also: fix columnization |
m 137 revisions imported |
||
(55 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}}<!-- | ||
<!-- | Categories go where indicated at the bottom of this page, please; interwiki links are handled on Wikidata, not here! See also: [[WP:Wikidata]]. | ||
--> | |||
{{High-use| 128802 }} | |||
{{Twinkle standard installation}} | {{Twinkle standard installation}} | ||
{{ | {{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}} | ||
__NOTOC__ | __NOTOC__ | ||
=== Usage === | === Usage === | ||
{{hatnote| | |||
{{hatnote|Unlike some other templates, you can use this rcat template in '''any [[WP:Namespace|namespace]]'''.}} | |||
This redirect category ([[wp:RCAT|rcat]]) template populates {{Cat|Redirects from alternative names}}. Add this rcat to a redirect in the following manner: | |||
====When using {{tlc|Rcat shell}}==== | |||
<pre> | |||
#REDIRECT [[Target page name]] | |||
{{Rcat shell| | |||
{{R from alternative name}} | |||
}} | |||
</pre> | |||
: Template {{tl|Rcat shell}} is an [[Wikipedia:Alias|alias]] for the template {{tl|Redirect category shell}}, which may be used to add to a redirect page as many appropriate rcats as needed ''(usually from one to seven)'' along with their parameters in a demarcated place. For more information, see [[Template:Redirect category shell/doc|the documentation on Rcat shell's template page]]. | |||
====When rcats are used individually==== | |||
<pre> | <pre> | ||
#REDIRECT [[ | #REDIRECT [[Target page name]] | ||
{{R from alternative name}} | {{R from alternative name}} | ||
</pre> | </pre> | ||
: This | : This accords with instructions found at [[Wikipedia:REDCAT]]. | ||
* Use this rcat on all redirects from a title that is another name such as a pseudonym, a nickname, or a synonym of the target page name. | |||
* Use this rcat on all redirects from a title that is another name | |||
====Optional parameter==== | |||
The {{para|of}} parameter can be used to specify the more common name. This is useful when redirecting from an obscure term to a more common one that is a subsection or anchor in a broader article that itself is not the other name of what is being redirected. For example [[Primary research]] redirects to [[Research#Forms of research]], where this subtopic is treated under the term "original research"; the redirect has {{tnull|R from alternative name|of{{=}}original research}}, in addition to {{tlx|R to section}} and {{tlx|R from subtopic}}. | |||
====Aliases==== | |||
* <nowiki>{{</nowiki>[[Template:R to alternative name|R {{big|'''''to'''''}} alternative name]]}} redirects here and reflects that "alternative" goes both ways. | |||
* <span class="plainlinks">[http:// | * <span class="plainlinks">[http://69.142.160.183/~dispenser/cgi-bin/rdcheck.py?page=Template:R_from_alternative_name Also known as...]</span> – list of templates that redirect here and may also be used | ||
=== Printworthiness === | ===Printworthiness=== | ||
* In [[ | {{notice|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}} | ||
:* {{tlx|R printworthy}} and | * In the [[Wikipedia:Mainspace|main (article) namespace]], many other-name redirects are considered [[WP:Printworthiness|printworthy]]. However, there are also many that are not printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the [[Wikimedia Foundation]]'s goal of increasing access and availability of ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed version}}s. Some rcats automatically populate either {{Cat|Printworthy redirects}} or {{Cat|Unprintworthy redirects}} by default. Others, like this rcat, do not. That means it is up to editors to choose which of those categories, ''Printworthy'' or ''Unprintworthy'', is appropriate and should be populated. The rcats that are used separately to populate those categories are: | ||
:* {{tlx|R unprintworthy}} | :* {{tlx|R printworthy}} ''and'' | ||
:* {{tlx|R unprintworthy}} ''please click on each one for more details and guidance''. | |||
* Template {{tl| | :* Template {{tl|Redirect category shell}} will accept these rcats just like any other; for example: | ||
: | |||
<pre> | <pre> | ||
{{ | {{Rcat shell| | ||
{{R from alternative name}} | |||
{{R printworthy}} | |||
}} | |||
{{Rcat shell| | |||
{{R from alternative name}} | |||
{{R unprintworthy}} | |||
}} | |||
</pre> | |||
:Either {{tl|Redirect category shell}} or its <span class="plainlinks">[http://69.142.160.183/~dispenser/cgi-bin/rdcheck.py?page=Template:Redirect_category_shell alias/shortcut templates]</span> may be used. | |||
===TemplateData=== | |||
{{TemplateData header}} | |||
{{ | |||
<TemplateData> | <TemplateData> | ||
{ | { | ||
"description": "Places a redirect in [[Category:Redirects from alternative names]]. This template can be added to a redirect which has a name which is a valid alternative to the title of the target page. There are several more specific alternative name redirect templates which can be used instead of this general one. Do not use this if the redirect is an incorrect title for the target page; use {{R from incorrect name}} instead | "description": "Places a redirect in [[Category:Redirects from alternative names]]. This template can be added to a redirect which has a name which is a valid alternative to the title of the target page. There are several more specific alternative name redirect templates which can be used instead of this general one. Do not use this if the redirect is an incorrect title for the target page; use {{R from incorrect name}} instead. ", | ||
"params": { | "params": { | ||
} | } | ||
} | } | ||
</TemplateData> | </TemplateData> | ||
''This template takes no parameters.<br />See ''{{tl|R from}}'' for an example that does''. | |||
=== See also === | ===See also=== | ||
{{ | {{div col|colwidth=30em}}{{bulleted list|{{tl|R from birth name}}|{{tl|R from former name}}|{{tl|R from long name}}|{{tl|R from historic name}}|{{tl|R from birth name}}|{{tl|R from married name}}|{{tl|R from modification}}|{{tl|R from non-neutral name}}|{{tl|R from pseudonym}}|{{tl|R from short name}}|{{tl|R from synonym}}}}{{div col end}} | ||
* [[Wikipedia:WikiProject Redirect/Style guide|WikiProject Redirect style guide]] | |||
* [[Wikipedia:WikiProject Redirect/Style guide|WikiProject Redirect | |||
{{R template index}} | {{R template index}} | ||
<includeonly>{{ | <includeonly>{{Sandbox other|| | ||
<!-- | <!-- | ||
[[Category: | Categories go below this line, please; links to interwikis now are handled on Wikidata. See also: [[WP:Wikidata]]. Thank you! | ||
[[Category:Templates for redirects from alternative names|Alternative name]] | --> | ||
[[Category:Redirect templates|Alternative name]] | |||
}}</includeonly> | [[Category:Redirects from alternative names| ]] | ||
[[Category:Templates for redirects from alternative names|Alternative name]]<!-- | |||
--> | |||
}}</includeonly> <noinclude> | |||
[[Category:Rcat template documentation pages|Alternative name]]</noinclude> |
Latest revision as of 13:39, 3 September 2020
This is a documentation subpage for Template:R from alternative name. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 131,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
This template should not be substituted nor used to tag soft redirects. |
Usage
This redirect category (rcat) template populates Category:Redirects from alternative names. Add this rcat to a redirect in the following manner:
When using {{Rcat shell}}
#REDIRECT [[Target page name]] {{Rcat shell| {{R from alternative name}} }}
- Template {{Rcat shell}} is an alias for the template {{Redirect category shell}}, which may be used to add to a redirect page as many appropriate rcats as needed (usually from one to seven) along with their parameters in a demarcated place. For more information, see the documentation on Rcat shell's template page.
When rcats are used individually
#REDIRECT [[Target page name]] {{R from alternative name}}
- This accords with instructions found at Wikipedia:REDCAT.
- Use this rcat on all redirects from a title that is another name such as a pseudonym, a nickname, or a synonym of the target page name.
Optional parameter
The |of=
parameter can be used to specify the more common name. This is useful when redirecting from an obscure term to a more common one that is a subsection or anchor in a broader article that itself is not the other name of what is being redirected. For example Primary research redirects to Research#Forms of research, where this subtopic is treated under the term "original research"; the redirect has {{R from alternative name|of=original research}}
, in addition to {{R to section}}
and {{R from subtopic}}
.
Aliases
- {{R to alternative name}} redirects here and reflects that "alternative" goes both ways.
- Also known as... – list of templates that redirect here and may also be used
Printworthiness
File:Stop hand nuvola.svg | Please do not alter the printworthy settings of this rcat without first notifying the Version 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version of Wikipedia. |
- In the main (article) namespace, many other-name redirects are considered printworthy. However, there are also many that are not printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not. That means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:
{{R printworthy}}
and{{R unprintworthy}}
please click on each one for more details and guidance.- Template {{Redirect category shell}} will accept these rcats just like any other; for example:
{{Rcat shell| {{R from alternative name}} {{R printworthy}} }} {{Rcat shell| {{R from alternative name}} {{R unprintworthy}} }}
- Either {{Redirect category shell}} or its alias/shortcut templates may be used.
TemplateData
TemplateData for R from alternative name
Places a redirect in [[Category:Redirects from alternative names]]. This template can be added to a redirect which has a name which is a valid alternative to the title of the target page. There are several more specific alternative name redirect templates which can be used instead of this general one. Do not use this if the redirect is an incorrect title for the target page; use {{R from incorrect name}} instead.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
This template takes no parameters.
See {{R from}} for an example that does.