Jump to content

Template:R from miscapitalisation: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
m Changed protection settings for "Template:R from miscapitalisation": Highly visible template ([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 5: Line 5:
|from=a capitalisation error
|from=a capitalisation error
|info=The correct form is {{#if:{{{1|{{{of|}}}}}}|<big>'''{{{1|{{{of}}}}}}'''</big>|given by the target of the redirect}}.
|info=The correct form is {{#if:{{{1|{{{of|}}}}}}|<big>'''{{{1|{{{of}}}}}}'''</big>|given by the target of the redirect}}.
** This redirect is made available to aid [[H:S|searches]] or to maintain [[H:L|links]]. Pages that use this link should be updated to link directly to the correct form without using a [[WP:piped link|piped link]] hiding the correct details.
** This redirect is made available to aid [[H:S|searches]] or to maintain [[H:L|links]]. Pages that use this link should be updated to link directly to the correct form without using a [[Project:Template documentation|piped link]] hiding the correct details.
** This template tags redirects with the {{c|Redirects from miscapitalisations‎}} category, a subcategory of {{c|Redirects from incorrect names}}, so template {{tl|R from incorrect name}} should not be used with this template.
** This template tags redirects with the {{c|Redirects from miscapitalisations‎}} category, a subcategory of {{c|Redirects from incorrect names}}, so template {{tl|R from incorrect name}} should not be used with this template.
|all category=Redirects from miscapitalisations
|all category=Redirects from miscapitalisations

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


Usage

  • Use this redirect category (rcat) template on a redirect in the following manner:
#REDIRECT [[(target page name)]]

{{Rcat shell|
{{R from miscapitalisation}}
}}
and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R from miscapitalisation}}
{{R unprintworthy}}
}}
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 miscapitalisation}}
This is in accord with instructions found at Wikipedia:REDCAT.
#REDIRECT [[Pope Francis]]

{{Rcat shell|
{{R from miscapitalisation}}
{{R unprintworthy}}
}}
or if used individually:
#REDIRECT [[Pope Francis]]

{{R from miscapitalisation}}
{{R unprintworthy}}
  • This template takes a parameter, either unnamed (|1=) or named (|of=) that may be used to provide the correct form when it is not the same as the target page's title – for example when an alternate name for the article has been miscapitalised. Supply the correct name as the first parameter in any of the following ways:
{{Rcat shell|
{{R from miscapitalisation|(correct form)}}
{{R unprintworthy}}
}}

  or

{{R from miscapitalisation|1=(correct form)}}

  or

{{R from miscapitalisation|(correct form)}}

  or

{{R from miscapitalisation|of=(correct form)}}
Example: the miscapitalised redirect Westminster palace employs:
#REDIRECT [[Palace of Westminster]]

{{Rcat shell|
{{R from miscapitalisation|Westminster Palace}}
{{R unprintworthy}}
}}
{{Rcat shell|
{{R from miscapitalisation||printworthy}}
{{R printworthy}}
}}

  or if applied individually:

{{R from miscapitalisation|2=printworthy}}

  or use two pipes to make an empty first parameter:

{{R from miscapitalisation||printworthy}}
Note 1: All redirects that are in main-article namespace (mainspace) are considered either printworthy (usable in printed versions of Wikipedia) or unprintworthy. When an untagged redirect is found, please decide its printworthiness and tag it appropriately.
Note 2: If used individually with the |of= parameter employed, and the redirect is deemed printworthy, then the second parameter must be applied as |2=printworthy in the following manner:
{{Rcat shell|
{{R from miscapitalisation|of=(correct form)|2=printworthy}}
{{R printworthy}}
}}
If "2=" is not used, then unexpected results will occur, even when applied individually.
Note 3: Redirects from miscapitalisations should not be directly linked. Pipe the title with possibilities to a disambiguated title, for example:
  • Important note: When this rcat is used together with R with possibilities, the Unprintworthy category must be subdued or else the redirect will populate both Printworthy and Unprintworthy categories, which of course is unacceptable.
  • This rcat may be used to tag redirects from homoglyphs and homographs when they have been created in error or specifically made available as search terms.

Aliases

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:R from miscapitalisation in articles based on its TemplateData.

TemplateData for R from miscapitalisation

This template is a redirect category template for redirects from a capitalisation error.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Correctly capitalised name1 of

The name of this redirect, correctly capitalised, if it differs from the redirect target.

Lineoptional
Printworthiness2

Set to printworthy to mark this redirect as printworthy.

Numberoptional
Printworthyprintworthy

Set to yes to mark this redirect as printworthy.

Lineoptional
Unprintworthyunprintworthy

Set to no to mark this redirect as printworthy.

Lineoptional
CategoryCategory

Override the category to place this redirect in. Place any category with the Category: prefix and in double square brackets.

Lineoptional

See also

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