Jump to content

Template:R from alternative spelling: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
Per edit request
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 4: Line 4:
|name=From an alternative spelling
|name=From an alternative spelling
|from=a title with an alternative spelling of {{#if:{{{1|{{{of|}}}}}}|{{#ifexpr:{{#invoke:String|find|{{{1|{{{of|}}}}}}|"plainlinks"}} + {{#invoke:String|find|{{{1|{{{of|}}}}}}|{{!((}}}} = 0|'''{{no redirect|{{{1|{{{of|}}}}}}}}'''|'''{{{1|{{{of|}}}}}}'''}}|the target name}}
|from=a title with an alternative spelling of {{#if:{{{1|{{{of|}}}}}}|{{#ifexpr:{{#invoke:String|find|{{{1|{{{of|}}}}}}|"plainlinks"}} + {{#invoke:String|find|{{{1|{{{of|}}}}}}|{{!((}}}} = 0|'''{{no redirect|{{{1|{{{of|}}}}}}}}'''|'''{{{1|{{{of|}}}}}}'''}}|the target name}}
|info=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 [[WP:NOTBROKEN|not broken]]. Also, these links [[MOS:NOPIPE|should not be replaced]] with [[WP:piped link|piped link]]s.
|info=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 [[Project:Article titles|not broken]]. Also, these links [[MOS:NOPIPE|should not be replaced]] with [[Project:Template documentation|piped link]]s.
** There are many {{em|more specific templates}} such as {{tl|R from alternative hyphenation}}, {{tl|R from alternative punctuation}} and {{tl|R from alternative spacing}}. Also see subcategories of [[:Category:Redirects from modifications]] for other options (capitals, abbreviations, diacritics, plurals, stylizations, transliteration, ligatures, different parts of speech, etc.)
** There are many {{em|more specific templates}} such as {{tl|R from alternative hyphenation}}, {{tl|R from alternative punctuation}} and {{tl|R from alternative spacing}}. Also see subcategories of [[:Category:Redirects from modifications]] for other options (capitals, abbreviations, diacritics, plurals, stylizations, transliteration, ligatures, different parts of speech, etc.)
|all category=Redirects from alternative spellings
|all category=Redirects from alternative spellings

Latest revision as of 09:56, 31 October 2026

When used inside the {{Redirect category shell}} template:


When used by itself:

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:R from alternative spelling/doc" to edit its documentation if it is available. (How does this work?)


Usage

#REDIRECT [[(target page name)]]

{{Rcat shell|
{{R from alternative spelling}}
}}
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:
#REDIRECT [[(target page name)]]

{{R from alternative spelling}}
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:

{{Rcat shell|
{{R from alternative spelling|1=(other spelling)}}
}}
or the 1= may be omitted:
{{Rcat shell|
{{R from alternative spelling|(other spelling)}}
}}
and when the |of= parameter is used:
{{Rcat shell|
{{R from alternative spelling|of=(other spelling)}}
}}

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'

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Alternative spelling1 of

The title the redirect's title is an alternative spelling of, if different from the redirect's target

Page nameoptional

Aliases

If, on the other hand, it is anglicization by removal of diacritics, then instead use the separate rcat template:

Printworthiness

  • 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 printed versions. 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:
Please click on each one for more details and guidance.
{{Redirect category shell|
{{R from alternative spelling}}
{{R printworthy}}
}}

{{Redirect category shell|
{{R from alternative spelling}}
{{R unprintworthy}}
}}

See also

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).