Template:R from Unicode code: Difference between revisions

Content deleted Content added
Improved description with clearer terminology. It seems likely that parameter 1's sortkey could be done automatically with clever template coding, but I'll save that for a future edit after I've examined it more carefully.
|main category=<!--for automatic namespace detection-->
 
(5 intermediate revisions by 5 users not shown)
Line 1:
<noinclude>{{This is a redirect/rcat}}
</noinclude>{{Redirect template
|id=R from Unicode code
|name=[[:Category:Redirects from Unicode codes|From a Unicode code point]]
|from=a Unicode [[code point]]
|to=an article about the character it represents
|printworthy=no
|info=For redirects from Unicode characters, use {{tl|R from Unicode character}} instead.
|main category=<!--for automatic namespace detection-->
}}<includeonly>{{Main other|{{#if: {{{1|}}}|[[Category:Redirects from Unicode codes|{{{1}}}]]|[[Category:Redirects from Unicode codes]]}}|{{Incorrect redirect template}}}}</includeonly><noinclude>
}}<includeonly>{{#if:{{NAMESPACE}}|{{Incorrect redirect template}}|
{{#if:{{#invoke:string|replace|{{PAGENAME}}|U%+[0-9A-Fa-f]*|plain=0}}|
{{error|This template should only appear on pages with a title like U+14F6. Did you mean [[Template:R from Unicode character]]?}}[[Category:Pages with incorrectly transcluded templates]]|
[[Category:Redirects from Unicode codes|{{#invoke:BaseConvert|16to10|{{#invoke:string|sub|{{PAGENAME}}|3}}}}]]
}}}}</includeonly><noinclude>
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}</noinclude>
</noinclude>