Template:R from other capitalisation/doc
< Template:R from other capitalisation
Jump to navigation
Jump to search
Revision as of 16:43, 10 June 2023 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org and adapted for SL Wiki)
This is a documentation subpage for Template:R from other capitalisation. It contains usage information, categories and other content or metadata that is not part of the original template. |
This template should not be substituted nor used to tag soft redirects. |
Usage
- This rcat populates both Category:Redirects from other capitalisations, which must be populated by main-article namespace (mainspace) redirects only, and Category:Unprintworthy redirects.
Please do not alter the printworthy settings of this rcat without first notifying someone... |
- Place this rcat after the mainspace redirect target (not on any talk page) in the following manner:
#REDIRECT [[(target article title)]]
{{Rcat shell|
{{R from other capitalisation}}
{{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 article title)]]
{{R from other capitalisation}}
- This is in accord with instructions found at WP:REDCAT.
- Use this rcat to tag any mainspace redirect from a title with another method of capitalisation. It leads to the title in accordance with the Wikipedia naming conventions for capitalisation and may help writing, searching and international language issues.
- If this rcat is placed on any redirect in a namespace other than mainspace, it will not appear on the redirect, and it will not place the redirect in the Redirects from other capitalisations category. Instead, the redirect will be placed in Category:Pages with templates in the wrong namespace and will require repair. When an other-capitalisation redirect is not in mainspace, then use {{R from modification}} instead.
- Important note: Other capitalisations that are incorrect capitalisations should not be tagged with this rcat – use {{R from miscapitalisation}} instead.
- Other variants should use one of the other rcats such as {{R from alternative spelling}} or {{R from alternative name}}.
Parameters
- |1 = printworthy – By default, this template tags and categorizes redirects as unprintworthy. Use the first parameter to subdue this behavior and populate Category:Printworthy redirects in the following manner:
{{Rcat shell|
{{R from other capitalisation|printworthy}}
{{R printworthy}}
}}
- or
{{R from other capitalisation|printworthy}}
{{R printworthy}}
- |2 = text, |of = text or |reason = text, use of any of these will change:
- Template:Talk quote inline
- to:
- Template:Talk quote inline
- This is useful when the term redirected from is an alternative capitalisation of a different name for or subtopic of the article title rather than of the title itself. For example, the redirect Northern Blue Jay:
#REDIRECT [[Blue jay#Subspecies]]
{{Rcat shell|
{{R from subtopic}}
{{R to section}}
{{R from other capitalisation|of=the redirect {{-r|Northern blue jay}}}}
{{R unprintworthy}}
}}
- or if applied individually:
#REDIRECT [[Blue jay#Subspecies]]
{{R from subtopic}}
{{R to subsection}}
{{R from other capitalisation|of=the redirect {{-r|Northern blue jay}}}}
{{R unprintworthy}}
Aliases
- Also known as... (list of all redirects to this template that may also be used).
- {{R from other capitalization}} (American "z" rather than British "s")
- Some other specific cases can also be more specifically flagged:
{{R from uppercase}}
(e.g. "Mountain Lion" → "Mountain lion"){{R from lowercase}}
(e.g. "The lord of the rings" → "The Lord of the Rings"){{R from all caps}}
(e.g. "SONY" → "Sony"){{R from mixed case}}
(for randomly jumbled case, e.g. "ComPanY nAmE" → "Company Name", which are known as "StudlyCaps")
- For redirects from historically-based "CamelCase" titles, please use the separate template:
{{R from CamelCase}}
- For redirects from historically-based "CamelCase" titles, please use the separate template:
- If a redirect is from an excessively capitalized title that violates WP:NCCAPS and MOS:CAPS, please use the template:
{{R from miscapitalisation}}
a.k.a. R from miscapitalization (American "z" rather than British "s")
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for R from other capitalisation
{
"description": "Marks a redirect as being from another capitalisation. Populates [[Category:Redirects from other capitalisations]].",
"params": {
"1": {
"label": "Printworthiness",
"description": "Set to 'printworthy' to mark the redirect as printworthy.",
"type": "string",
"required": false
},
"2": {
"label": "(text)",
"aliases": ["of", "reason", "for"],
"description": "Set 'text' to capitalization other than target when appropriate.",
"type": "string",
"required": false
}
}
}
See also
- {{R from miscapitalisation}} (useful in any namespace)
- {{R from modification}}, useful to tag "other capitalisations" in namespaces other than mainspace
- WikiProject Redirect/Style guide