Jump to content

Template:R from alternative hyphenation: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
m Changed protection settings for "Template:R from alternative hyphenation" ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 4: Line 4:
|name=From an alternative hyphenation
|name=From an alternative hyphenation
|from=a title with an alternative hyphenation 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 hyphenation 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.
|all category=Redirects from alternative hyphenations
|all category=Redirects from alternative hyphenations
|printworthy=no
|printworthy=no

Latest revision as of 09:55, 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 hyphenation/doc" to edit its documentation if it is available. (How does this work?)


Usage

  • Add this rcat to a redirect in the following manner:
#REDIRECT [[(target page name)]]

{{Rcat shell|
{{R from alternative hyphenation}}
}}
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 hyphenation}}
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.
  • 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 hyphenation is of a name that is different from the target's title. They are used as follows:

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

The text will be changed from ...a different hyphenation of the target name to ...a different hyphenation of (other hyphenation).

TemplateData

This redirect category (rcat) template populates the category 'Redirects from alternative hyphenations'

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Alternative hyphenation1 of

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

Page nameoptional

Aliases

See also

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