Jump to content

Template:R from misspelling/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
update cats
remove double spaces; fix breakage introduced in Special:Diff/1159769647; clean up whitespace
 
(45 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE AND INTERWIKIS TO WIKIDATA. -->
{{High-use}}
{{Twinkle standard installation}}
{{Twinkle standard installation}}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
{{tsh|R typo}}
{{template shortcut|R typo}}

__NOTOC__
__NOTOC__
=== Usage ===
=== Usage ===
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]''', except for typos in template space.}}
* Use this redirect category ([[wp:RCAT|rcat]]) template on a redirect in the following manner:
* Use this redirect category ([[wp:RCAT|rcat]]) template on a redirect in the following manner:
: Example: the article redirect '''<big>{{-r|Antony van Leeuwenhook}}</big>''' consists of:
: Example: the [[wp:mainspace|mainspace]] article redirect '''<big>{{-r|Antony van Leeuwenhook}}</big>''' may be tagged:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[Antonie van Leeuwenhoek]]
#REDIRECT [[Antonie van Leeuwenhoek]]


{{Rcat shell|
{{Redr|from misspelling}}
{{R from misspelling}}
</pre>
{{R unprintworthy}}
}}
</syntaxhighlight>
: 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 redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
#REDIRECT [[Antonie van Leeuwenhoek]]

{{R from misspelling}}
{{R unprintworthy}}
</syntaxhighlight>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* This template takes a parameter, either unnamed ({{para|1}}) or named ({{para|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:
* Template {{tl|Redr}}, (''This is a redirect'') may also be used to add this and up to seven appropriate rcats to a redirect. See below.
<syntaxhighlight lang="wikitext">
* This template a parameter (unnamed, or specified as {{para|of}}) that provides the correct spelling. When (and only when) the correct spelling is '''not''' the same as the target article title – for example when an alternate name for the article has been misspelled – supply the correct name as the first parameter in either of the following manners (and note that the unnamed-parameter option cannot be used if the text of the correct spelling contains a "=" character, as in [[E=MC²]]):
{{Rcat shell|
<pre>
{{R from misspelling|(Correct spelling)}}
{{R from misspelling|1=(correct spelling)}}
}}
{{R from misspelling|of=(Correct spelling)}}
</syntaxhighlight>
</pre>
: ''or'' the {{code|1{{=}}}} may be omitted:
: Example: the entry '''<big>{{-r|Babtist}}</big>''' consists of:
<syntaxhighlight lang="wikitext">
<pre>
{{Rcat shell|
{{R from misspelling|(correct spelling)}}
}}
</syntaxhighlight>
: with the {{para|of}} parameter:
<syntaxhighlight lang="wikitext">
{{Rcat shell|
{{R from misspelling|of=(correct spelling)}}
}}
</syntaxhighlight>
: and when used individually:
<syntaxhighlight lang="wikitext">
{{R from misspelling|(correct spelling)}}
or
{{R from misspelling|of=(correct spelling)}}
</syntaxhighlight>
: '''Example:''' the misspelled redirect '''<big>{{-r|Babtist}}</big>''' employs:
<syntaxhighlight lang="wikitext">
#REDIRECT [[Baptists]]
#REDIRECT [[Baptists]]


{{Redr|from misspelling|p1=Baptist}}
{{Rcat shell|
{{R from misspelling|Baptist}}
{{R unprintworthy}}
</pre>
}}
:: (The first parameter of any rcat is covered in the {{tl|Redr}} template by its "'''p#'''" parameter.)
</syntaxhighlight>
* This rcat populates the {{Cat|Redirects from misspellings}}. At some point in the future, [[Jimmy Wales]] wants to make more <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed versions]</span> of ''Wikipedia'' encyclopedia articles. Most misspellings are not suitable for a printed version, so {{Cat|Unprintworthy redirects}} is also populated. See below for how to handle those few misspellings that are printworthy.
{{Notice|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}}
** If a [[WP:NS0|main-article-namespace]] redirect's misspelling is deemed to be printworthy, then the automatic listing in the Unprintworthy category can be subdued and the redirect [[:Category:Printworthy redirects|categorized as printworthy]] by the use of the second parameter:
* This rcat populates {{Cat|Redirects from misspellings}} and {{Cat|Unprintworthy redirects}} by default. In 2003, efforts were begun to support the [[Wikimedia Foundation]]'s goal of increasing access and availability of ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}}. Most redirects from misspellings are not suitable for a printed version. In other words they are [[WP:printworthiness|unprintworthy]]. Following is what to do for those few misspellings that are printworthy:
<pre>
* Some misspellings may also be correct spellings of different subjects that might become notable. If a [[WP:mainspace|mainspace]] redirect is a misspelling that is deemed to be printworthy, then the default listing in the ''Unprintworthy redirects'' category can be subdued and the redirect {{C|Printworthy redirects|categorized as printworthy}} by use of this rcat's second parameter:
<syntaxhighlight lang="wikitext">
{{Rcat shell|
{{R from misspelling|2=printworthy}}
{{R from misspelling|2=printworthy}}
{{R printworthy}}

}}
or simply use two pipes to make an empty first parameter:
</syntaxhighlight>

: or use two pipes together to make an "empty" first parameter:
<syntaxhighlight lang="wikitext">
{{Rcat shell|
{{R from misspelling||printworthy}}
{{R from misspelling||printworthy}}
{{R printworthy}}
</pre>
}}
:: '''Note 1:''' All redirects that are in the main (article) namespace are considered either printworthy (usable in a <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed version]</span> of Wikipedia) or unprintworthy. When an untagged redirect is found, please decide its [[wp:printworthiness|printworthiness]] and tag it appropriately.
</syntaxhighlight>
:: '''Note 2:''' When the ''This is a redirect'' template is used, the parameters are added in the following manner:
: and if applied individually:
<pre>
<syntaxhighlight lang="wikitext">
{{Redr|from misspelling|p1=(correct spelling)|n1=printworthy}}
{{R from misspelling|2=printworthy}}
</pre>
or
:* ("Redr", an alias for the "This is a redirect" template, uses an "'''n#'''" parameter for an rcat's second parameter.)
{{R from misspelling||printworthy}}
:* Examples of "printworthy misspellings" would be any {{c|redirects with possibilities}}, which are redirects that have potential to become articles, project pages, templates, etc. A redirect can be a misspelling of one subject and still be the correct spelling of another subject, which does not yet have an article of its own. See {{-r|Jim Blythe}} → [[Jim Blyth]].
</syntaxhighlight>
:* '''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 the Printworthy and Unprintworthy categories.
:: '''Note 1:''' All redirects that are in main-article namespace (mainspace) are considered either printworthy (usable in printed versions of Wikipedia) or unprintworthy and should be tagged as one or the other. When an untagged redirect is found, please decide its [[wp:printworthiness|printworthiness]] and tag it appropriately.
:: '''Note 2:''' If used individually with the {{para|of}} parameter employed, and the redirect is deemed printworthy, then the second parameter must be applied as {{para|2|printworthy}} in the following manner:
<syntaxhighlight lang="wikitext">
{{R from misspelling|of=(correct spelling)|2=printworthy}}
</syntaxhighlight>
:: If {{code|2{{=}}}} is not used, then unexpected results will occur.
:: '''Note 3:''' When the {{tl|Redirect category shell}} (''Rcat shell'') template is used, the parameters may be added in the following manner:
<syntaxhighlight lang="wikitext">
{{Rcat shell|
{{R from misspelling|(correct spelling)|printworthy}}
{{R printworthy}}
}}
</syntaxhighlight>
:* Examples of "printworthy misspellings" would be any {{c|Redirects with possibilities|redirects with possibilities}}, which are redirects that have potential to become articles, project pages, templates, etc. A redirect can be a misspelling of one subject and still be the correct spelling of another subject, which does not yet have an article of its own. For example, there is an author of a number of business books who is referenced in the [[List of conglomerates#cite note-43|List of conglomerates]], an author who may achieve notability soon. His name is a "misspelling" of "Blyth", so the redirect title with his name is printworthy with possibilities:
::* {{-r|Jim Blythe}}[[File:Redirect arrow without text.svg|35px]][[James Blyth]]
:: Redirects from misspellings should not be directly linked, however. Pipe the title with possibilities to a disambiguated title, for example:
::* {{code|<nowiki>[[Jim Blythe (author)|Jim Blythe]]</nowiki>}}, which appears to readers as [[Jim Blythe (author)|Jim Blythe]]. Read [[Wikipedia:REDLINK]] to discover how important red links can be to Wikipedia. Also note that when and if an article is written on this author, the "(author)" qualifier/disambiguator might not be needed in the article's title. If it is not needed, then the redirect can be converted into the author's article.
:: When tagging human name redirects and similar-type redirects, always remember to use {{code|<nowiki>{{DEFAULTSORT:(sort key)}}</nowiki>}} when necessary to correctly sort the redirects in their categories. "Jim Blythe" would be sorted as:
::* {{code|<nowiki>{{DEFAULTSORT:Blythe, Jim}}</nowiki>}}
::* Read [[Wikipedia:SORTKEY]] for more information.
:* Another example of a printworthy misspelling is:
::* {{-r|Infared}}[[File:Redirect arrow without text.svg|35px]][[Infrared]]
::: The "infared" redirect, a common misspelling of "infrared", has possibilities because "Infared" is also the name of a rapper who was featured on [[All the Way Up (Fat Joe and Remy Ma song)]].
:* '''Important note:''' When this rcat, ''R from misspelling'', is used together with ''R with possibilities'', the "unprintworthiness" '''must''' be subdued using the {{para|2}} parameter. If it is not subdued, then the redirect will populate both ''Printworthy redirects'' and ''Unprintworthy redirects'' categories {{large|at the same time}}, which of course is unacceptable. Please be careful not to let this happen.
* This rcat may be used to tag redirects from [[homoglyph]]s and [[homograph]]s when they have been created in error or specifically made available as search terms.

===TemplateData===
{{TemplateData header}}
<templatedata>
{
"params": {
"2": {
"description": "Set this to \"printworthy\", without quotes, to mark the redirect as being worth printing in a paper Wikipedia. Generally this is not needed for misspellings.",
"type": "string"
},
"of": {
"aliases": [
"1"
],
"label": "Misspelling of",
"description": "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.",
"type": "line",
"suggested": true
},
"Category": {
"label": "Category override",
"description": "This may be set to override the default categorization, if and only if in the article namespace.",
"type": "line",
"default": "This defaults to \"[[Category:Unprintworthy redirects]]\" (without quotes). Other categories may be given in the same way."
},
"printworthy": {
"label": "Print-worthy",
"description": "Set this to yes to mark the redirect as being worth printing in a paper Wikipedia. Generally this is not needed for misspellings.",
"type": "string"
},
"unprintworthy": {
"label": "Not print-worthy",
"description": "Set this to no to mark the redirect as being worth printing in a paper Wikipedia. Generally this is not needed for misspellings.",
"type": "string"
}
},
"description": "Template to be used on redirects in any namespace which are redirects from misspellings of the proper title.",
"format": "inline"
}
</templatedata>


==== Aliases ====
=== Aliases ===
{{hatnote|Please note that common misspellings can also be [[WP:Criteria for speedy deletion#Redirects|useful redirects]]}}
{{hatnote|Please note that common misspellings can also be [[WP:Criteria for speedy deletion#Redirects|useful redirects]]}}
* <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:R_from_misspelling&hidetrans=1&hidelinks=1&limit=500 Click here]</span> for a list of templates that redirect here and that may also be used.
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_from_misspelling|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> list of templates that redirect here and may also be used


=== See also ===
=== See also ===
* {{tl|R from alternative spelling}}
* {{tl|Misspelling}}
* {{tl|R from miscapitalisation}}
* {{tl|R from incorrect name}}
* {{tl|R from incorrect name}}
* {{tl|R with possibilities}}
* {{tl|R with possibilities}}
Line 56: Line 160:


{{R template index}}
{{R template index}}
<includeonly>{{Sandbox other||

<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- CATEGORIES GO JUST BELOW AND INTERWIKIS GO TO WIKIDATA, THANK YOU! -->
[[Category:All redirect templates]]
[[Category:Redirect templates|Misspelling]]
[[Category:Redirect templates|Misspelling]]
[[Category:Redirects from misspellings| ]]
[[Category:Templates for unprintworthy redirects|Misspelling]]
[[Category:Templates for unprintworthy redirects|Misspelling]]
[[Category:Templates for printworthy redirects|Misspelling]]
[[Category:Unprintworthy redirects| ]]
[[Category:Unprintworthy redirects| ]]
[[Category:Redirects from misspellings| ]]
[[Category:Templates for printworthy redirects|Misspelling]]
[[Category:Printworthy redirects| ]]

[[Category:Templates for redirects from different spellings]]
}}</includeonly>
[[Category:All namespace redirect templates]]}}</includeonly><noinclude>
[[Category:Redirect category template documentation pages|Misspelling]]
</noinclude>

Latest revision as of 04:32, 10 August 2024


Usage

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

{{R from misspelling}}
{{R unprintworthy}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • 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|Baptist}}
{{R unprintworthy}}
}}
  • This rcat populates Category:Redirects from misspellings and Category:Unprintworthy redirects by default. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Most redirects from misspellings are not suitable for a printed version. In other words they are unprintworthy. Following is what to do for those few misspellings that are printworthy:
  • Some misspellings may also be correct spellings of different subjects that might become notable. If a mainspace redirect is a misspelling that is deemed to be printworthy, then the default listing in the Unprintworthy redirects category can be subdued and the redirect categorized as printworthy by use of this rcat's second parameter:
{{Rcat shell|
{{R from misspelling|2=printworthy}}
{{R printworthy}}
}}
or use two pipes together to make an "empty" first parameter:
{{Rcat shell|
{{R from misspelling||printworthy}}
{{R printworthy}}
}}
and if applied individually:
{{R from misspelling|2=printworthy}}
  or
{{R from misspelling||printworthy}}
Note 1: All redirects that are in main-article namespace (mainspace) are considered either printworthy (usable in printed versions of Wikipedia) or unprintworthy and should be tagged as one or the other. 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:
{{R from misspelling|of=(correct spelling)|2=printworthy}}
If 2= is not used, then unexpected results will occur.
Note 3: When the {{Redirect category shell}} (Rcat shell) template is used, the parameters may be added in the following manner:
{{Rcat shell|
{{R from misspelling|(correct spelling)|printworthy}}
{{R printworthy}}
}}
  • Examples of "printworthy misspellings" would be any redirects with possibilities, which are redirects that have potential to become articles, project pages, templates, etc. A redirect can be a misspelling of one subject and still be the correct spelling of another subject, which does not yet have an article of its own. For example, there is an author of a number of business books who is referenced in the List of conglomerates, an author who may achieve notability soon. His name is a "misspelling" of "Blyth", so the redirect title with his name is printworthy with possibilities:
Redirects from misspellings should not be directly linked, however. Pipe the title with possibilities to a disambiguated title, for example:
  • [[Jim Blythe (author)|Jim Blythe]], which appears to readers as Jim Blythe. Read Wikipedia:REDLINK to discover how important red links can be to Wikipedia. Also note that when and if an article is written on this author, the "(author)" qualifier/disambiguator might not be needed in the article's title. If it is not needed, then the redirect can be converted into the author's article.
When tagging human name redirects and similar-type redirects, always remember to use {{DEFAULTSORT:(sort key)}} when necessary to correctly sort the redirects in their categories. "Jim Blythe" would be sorted as:
  • Another example of a printworthy misspelling is:
The "infared" redirect, a common misspelling of "infrared", has possibilities because "Infared" is also the name of a rapper who was featured on All the Way Up (Fat Joe and Remy Ma song).
  • Important note: When this rcat, R from misspelling, is used together with R with possibilities, the "unprintworthiness" must be subdued using the |2= parameter. If it is not subdued, then the redirect will populate both Printworthy redirects and Unprintworthy redirects categories at the same time, which of course is unacceptable. Please be careful not to let this happen.
  • 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

[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 misspelling in articles based on its TemplateData.

TemplateData for R from misspelling

Template to be used on redirects in any namespace which are redirects from misspellings of the proper title.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
22

Set this to "printworthy", without quotes, to mark the redirect as being worth printing in a paper Wikipedia. Generally this is not needed for misspellings.

Stringoptional
Misspelling ofof 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.

Linesuggested
Category overrideCategory

This may be set to override the default categorization, if and only if in the article namespace.

Default
This defaults to "[[Category:Unprintworthy redirects]]" (without quotes). Other categories may be given in the same way.
Lineoptional
Print-worthyprintworthy

Set this to yes to mark the redirect as being worth printing in a paper Wikipedia. Generally this is not needed for misspellings.

Stringoptional
Not print-worthyunprintworthy

Set this to no to mark the redirect as being worth printing in a paper Wikipedia. Generally this is not needed for misspellings.

Stringoptional

Aliases

[edit]

See also

[edit]