Template:L: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Add lang and use <onlyinclude>.)
(-obsolete with current multipage)
Line 4: Line 4:
becomes:
becomes:
[[targetname:zh-cn|targetname]]</pre>
[[targetname:zh-cn|targetname]]</pre>
<onlyinclude><includeonly>[[{{{1}}}:{{{2}}}|{{{1}}}]]</includeonly></onlyinclude>
<onlyinclude><includeonly>[[{{{1}}}]]</includeonly></onlyinclude>

Revision as of 08:50, 5 July 2024

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]]