Template:L: Difference between revisions
Jump to navigation
Jump to search
(.) |
m (Add lang and use <onlyinclude>.) |
||
Line 1: | Line 1: | ||
{{lang|Template:L}} | |||
<pre> | 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>{{L|targetname|zh-cn}} | |||
becomes: | becomes: | ||
[[targetname:zh-cn|targetname]]</pre> | |||
<onlyinclude><includeonly>[[{{{1}}}:{{{2}}}|{{{1}}}]]</includeonly></onlyinclude> |
Revision as of 06:10, 19 September 2021
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.
{{L|targetname|zh-cn}} becomes: [[targetname:zh-cn|targetname]]