Template:L: Difference between revisions
Jump to navigation
Jump to search
(.) |
(.) |
||
Line 1: | Line 1: | ||
<noinclude>A convenience template for articles in other languages. Allows for links to pages where the name is identical across all languages (e.g. $envmap) to be done a little faster. If the name is below | <noinclude>A convenience template for articles in other languages. Allows for links to pages where the name is identical across all languages (e.g. $envmap) to be done a little faster. If the name is below 6 characters, this template is less efficient per-character. | ||
<pre>[[targetname:zh-cn|targetname]] | <pre>[[targetname:zh-cn|targetname]] | ||
becomes: | becomes: | ||
{{L|targetname|zh-cn}}</pre></noinclude>[[{{{1}}}:{{{2}}}|{{{1}}}]] | {{L|targetname|zh-cn}}</pre></noinclude>[[{{{1}}}:{{{2}}}|{{{1}}}]] |
Revision as of 14:56, 23 September 2018
A convenience template for articles in other languages. Allows for links to pages where the name is identical across all languages (e.g. $envmap) to be done a little faster. If the name is below 6 characters, this template is less efficient per-character.
[[targetname:zh-cn|targetname]] becomes: {{L|targetname|zh-cn}}
[[{{{1}}}:{{{2}}}|{{{1}}}]]