Difference between revisions of "Template:R lang"
(simplify categorization) |
(Force lowercase on input.) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[Category:Language redirects|{{#if:{{{1|}}}|{{{1}}}|{{SUBPAGENAME}}}} {{BASEPAGENAME}}]]</includeonly><noinclude> | + | <includeonly>[[Category:Language redirects|{{#if:{{{1|}}}|{{lc:{{{1}}}}}|{{SUBPAGENAME}}}} {{BASEPAGENAME}}]]</includeonly><noinclude> |
{{doc begin}} | {{doc begin}} | ||
Used to categorize redirects to non-English pages into [[:Category:Language redirects|Language redirects]] sorted by ISO code. | Used to categorize redirects to non-English pages into [[:Category:Language redirects|Language redirects]] sorted by ISO code. | ||
− | + | t | |
=== Usage === | === Usage === | ||
* {{code|1=<nowiki>#REDIRECT [[Target]] {{R lang|fr}}</nowiki>}} – template must appear on same line for redirect to still function correctly. | * {{code|1=<nowiki>#REDIRECT [[Target]] {{R lang|fr}}</nowiki>}} – template must appear on same line for redirect to still function correctly. |
Revision as of 12:52, 4 July 2011
Documentation for R lang
Used to categorize redirects to non-English pages into Language redirects sorted by ISO code. t
Usage
#REDIRECT [[Target]] {{R lang|fr}}
– template must appear on same line for redirect to still function correctly.