Template:R from Unicode code/doc: Difference between revisions

Content deleted Content added
Adding a brief description of use, for clarity.
Main namespace
 
(14 intermediate revisions by 8 users not shown)
Line 1:
{{Documentation subpage}}
<!-- PleaseCategories place categoriesgo where indicated at the bottom of this page, andplease; interwikis atgo to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{Lua|Module:BaseConvert|Module:String}}
{{NosubstSubstitution|It should also not be|nor used to tag [[Wikipedia:Soft redirects|soft redirects]].}}
{{Twinkle standard installation}}
{{tsh|runico}}
 
__NOTOC__
To use, simply add {{tlc|R from Unicode code}} on the line after the redirect.
===Usage===
{{hatnote|Use this rcat template on '''[[wp:mainspace|mainspace]] redirects only'''.}}
{{hatnote|If this rcat is added to a redirect that is in any namespace other than mainspace, an error box will appear on the redirect, and the redirect will be sorted to {{cat|Pages with templates in the wrong namespace}}.}}
* This redirect category ([[WP:RCAT|rcat]]) template populates {{Cat|Redirects from Unicode codes}} 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}}. Redirects from Unicode symbols are not suitable for a printed version. In other words they are [[WP:Printworthiness|unprintworthy]].
{{info|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''.}}
* Add this rcat to a [[WP:Redirect pages|redirect page]] (''not'' a [[Help:talk-page|talk-page]] redirect) in the following manner:
<syntaxhighlight lang="wikitext">
#REDIRECT [[(target article title or page name)]]
 
{{Rcat shell|
'''The first template parameter is no longer necessary and should not be used.''' It was previously used to set a custom [[WP:Sortkey|category sortkey]], but the sortkey is now generated automatically from the page title.
{{R from Unicode code}}
{{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 [[(target article title or page name)]]
 
{{R from Unicode code}}
</syntaxhighlight>
: This is in accord with instructions found at [[WP:REDCAT]].
* Use this rcat to tag any mainspace redirect from a Unicode [[code point]] to an article about the character it represents. An example would be <code>u+006C</code>, which is the Unicode code for the letter "L".
 
==== Aliases ====
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_from_Unicode_code|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used
 
== See also ==
* {{tl|R from code}}
* {{tl|R from Unicode character}}
* [[Wikipedia:WikiProject Redirect/Style guide|WikiProject Redirect/Style guide]]
 
{{R template index}}
 
<includeonly>{{sandbox other||
<!-- Categories go below this line, please; interwikis atgo to Wikidata, thank you! -->
{{DEFAULTSORT[[Category:Redirect templates|Unicode code point}}]]
[[Category:Redirect templates]]
[[Category:Redirects from Unicode codes| ]]
[[Category:Templates for unprintworthy redirects]]
[[Category:Unprintworthy redirects| ]]
}}</includeonly>
[[Category:Main namespace redirect templates]]}}</includeonly><noinclude>
[[Category:Redirect category template documentation pages|Unicode code]]
</noinclude>