Template:R from misspelling/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
{{{{fcb|#4169e1|Rcat shell}}| | {{{{fcb|#4169e1|Rcat shell}}| | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from misspelling}}{{))}} | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from move}}{{))}} | ||
}} }} | }} }} | ||
: Template {{tl|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 | : Template {{tl|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 redairect. For more information see the documentation on its template page. This rcat may also tag a redirect individually: | ||
{{Pre| | {{Pre| | ||
{{fcb|#2e8b57|#REDIRECT}} {{!((}}{{fcb|#2e8b57|Antonie van Leeuwenhoek}}]] | {{fcb|#2e8b57|#REDIRECT}} {{!((}}{{fcb|#2e8b57|Antonie van Leeuwenhoek}}]] | ||
Line 24: | Line 24: | ||
{{Pre| | {{Pre| | ||
{{{{fcb|#4169e1|Rcat shell}}| | {{{{fcb|#4169e1|Rcat shell}}| | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from misspelling}}|{{fcb|#ce33ff|1}}={{font color|#933|(correct spelling)}}{{))}} | ||
}} }} | }} }} | ||
: ''or'' the {{para|1}} may be omitted: | : ''or'' the {{para|1}} may be omitted: | ||
{{Pre| | {{Pre| | ||
{{{{fcb|#4169e1|Rcat shell}}| | {{{{fcb|#4169e1|Rcat shell}}| | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from misspelling}}|{{font color|#933|(correct spelling)}}{{))}} | ||
}} }} | }} }} | ||
: with the {{para|of}} parameter: | : with the {{para|of}} parameter: | ||
{{Pre| | {{Pre| | ||
{{{{fcb|#4169e1|Rcat shell}}| | {{{{fcb|#4169e1|Rcat shell}}| | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from misspelling}}|{{fcb|#ce33ff|of}}={{font color|#933|(correct spelling)}}{{))}} | ||
}} }} | }} }} | ||
: and when used individually: | : and when used individually: | ||
Line 40: | Line 40: | ||
{{{{fcb|#4169e1|R from misspelling}}|{{font color|#933|(correct spelling)}}}} | {{{{fcb|#4169e1|R from misspelling}}|{{font color|#933|(correct spelling)}}}} | ||
or | or | ||
{{{{fcb|#4169e1|R from misspelling}}|{{fcb|# | {{{{fcb|#4169e1|R from misspelling}}|{{fcb|#ce33ff|of}}={{font color|#933|(correct spelling)}}}} | ||
}} | }} | ||
: '''Example:''' the misspelled redirect '''<big>Babtist</big>''' employs: | : '''Example:''' the misspelled redirect '''<big>Babtist</big>''' employs: | ||
Line 47: | Line 47: | ||
{{{{fcb|#4169e1|Rcat shell}}| | {{{{fcb|#4169e1|Rcat shell}}| | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from misspelling}}{{))}} | ||
{{((}}{{fcb|# | {{((}}{{fcb|#2e8b57|R from move}}{{))}} | ||
}} }} | }} }} | ||
* This rcat populates {{Cat|Redirects from misspellings}} by default. | * This rcat populates {{Cat|Redirects from misspellings}} by default. | ||
* This rcat may be used to tag redirects from [[wikipedia:homoglyph]]s and [[wikipedia:homograph]]s when they have been created in error or specifically made available as search terms. | * This rcat may be used to tag redirects from [[wikipedia:homoglyph|homoglyph]]s and [[wikipedia:homograph|homograph]]s when they have been created in error or specifically made available as search terms. | ||
== TemplateData == | == TemplateData == | ||
Line 58: | Line 58: | ||
{ | { | ||
"params": { | "params": { | ||
"of": { | "of": { | ||
"aliases": [ | "aliases": [ | ||
Line 70: | Line 66: | ||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
} | } | ||
}, | }, | ||
Line 88: | Line 78: | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Rcat Templates | [[Category:Rcat Templates}} | ||
}}}}</includeonly> | }}}}</includeonly> |
Revision as of 22:17, 18 June 2023
It contains usage information, categories and other content that is not part of the original template page.
|
Usage
Use this rcat template in any namespace, except for typos in template space.
- Use this redirect category (rcat) template on a redirect in the following manner:
- Example: the mainspace article redirect Antony van Leeuwenhook may be tagged:
#REDIRECT [[Antonie van Leeuwenhoek]] {{Rcat shell| {{R from misspelling}} {{R from move}} }}
- 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 redairect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[Antonie van Leeuwenhoek]] {{R from misspelling}}
- This template takes a parameter, either unnamed (
|1=
) or named (|of=
) that may be used to provide the correct spelling when it is not the same as the target page's title – for example when an alternate name for the article has been misspelled. Supply the correct name as the first parameter in any of the following ways:
{{Rcat shell| {{R from misspelling|1=(correct spelling)}} }}
- or the
|1=
may be omitted:
{{Rcat shell| {{R from misspelling|(correct spelling)}} }}
- with the
|of=
parameter:
{{Rcat shell| {{R from misspelling|of=(correct spelling)}} }}
- and when used individually:
{{R from misspelling|(correct spelling)}} or {{R from misspelling|of=(correct spelling)}}
- Example: the misspelled redirect Babtist employs:
#REDIRECT [[Baptists]] {{Rcat shell| {{R from misspelling}} {{R from move}} }}
- This rcat populates Category:Redirects from misspellings by default.
- 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.
TemplateData
Template to be used on redirects in any namespace which are redirects from misspellings of the proper title.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Misspelling of | of 1 | May be used to provide the correct spelling when it is not the same as the target page's title – for example when an alternate name for the article has been misspelled. | Line | suggested |