Template:R from alternative spelling/doc
This template is used on approximately 111,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. |
Template:Twinkle standard installation
This template should not be substituted nor used to tag soft redirects. |
This is a documentation subpage for Template:R from alternative spelling. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
- This redirect category (rcat) template populates Category:Redirects from alternative spellings. Add this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
- REDIRECT (target page name)
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- 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:
<syntaxhighlight lang="wikitext">
- REDIRECT (target page name)
- From a different spelling: This is a redirect from a title with a different spelling of the target name. Pages that link to this redirect may be updated to link directly to the target page if that results in an improvement of the text. Do not "fix" such links if they are not broken. Also, these links should not be replaced with piped links.
- There are many Template:Em. See subcategories of Category:Redirects from modifications for other options (capitals, abbreviations, diacritics, plurals, stylizations, transliteration, ligatures, different parts of speech, etc.)
- At present, Template:Tl-r, Template:Tl-r, and Template:Tl-r all redirect to this template and feed into the same maintenance category. This is likely to change in the future, so please use the more specific template names.
</syntaxhighlight>
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat to tag any redirect in any namespace from a title with a different correct spelling of the target.
- Do not use this rcat to tag a redirect from an incorrectly spelled title – misspelled redirects should be tagged with {{R from misspelling}} instead – such "typo" redirects are frequently good search terms.
- Pages that link to these redirects may be updated to link directly to the target pages if that results in an improvement of the text. Do not "fix" such links if they are not broken. In addition, these links should not be replaced with piped links.
Parameters
One of two parameters, either |1=
or |of=
, may be used to alter the text when the other spelling is of a name that is different from the target's title. They are used as follows:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- or the <syntaxhighlight lang="text" class="" id="" style="" inline="1">1=</syntaxhighlight> may be omitted:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- and when the
|of=
parameter is used:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight> The text will be changed from ...a different spelling of the target name to ...a different spelling of (other spelling).
TemplateData
This redirect category (rcat) template populates the category 'Redirects from alternative spellings'
Parameter | Description | Type | Status | |
---|---|---|---|---|
other spelling | 1 of | For spellings that are different from redirect target's | String | optional |
Aliases
- Also known as... – list of templates that redirect here and may also be used
- If it is a redirect from an excessively anglicized name to a more authentic one, please use:
{{R from anglicization}}
(a template redirect with possibilities).
- If, on the other hand, it is anglicization by removal of diacritics, then instead use the separate rcat template:
{{R to diacritics}}
.
Printworthiness
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 main-article namespace, many redirects from other spellings of target titles are considered printworthy; however, there are many others that are unprintworthy, 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 Template:Diff. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not, and 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.
- Examples:
<syntaxhighlight lang="wikitext">
This page is a redirect. The following categories are used to track and monitor this redirect:
|
This page is a redirect. The following categories are used to track and monitor this redirect:
|
</syntaxhighlight>
- Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.