Jump to content

Template:R from miscapitalisation/doc

From Wikipedia, the free encyclopedia


Usage

[edit]
  • 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

[edit]

TemplateData

[edit]
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

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

[edit]