Template:L/doc
Template to use for links to main namespace pages on non-English articles. Will also have link to English version of the page next to it in parentheses.
Parameters:
- {{{1}}} - page to link
- {{{2}}} - alt name
- {{{lang}}} - to choose a language manually. Use this in namespaces that don't use language prefix. (i.e NOT main, Valve Developer Community, Help or Category namespace). As Template:L is not meant to be used on English pages this param also serves as a way to error check yourself and be sure where exactly you are linking.
![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
{{Lx}}
which also automatically checks for namespace to place the prefix in proper place.{{L|Targetname}} while on pages starting with Zh/ prefix becomes: [[Zh/Targetname|Targetname]]
{{L|Targetname|Name}} while on pages starting with Zh/ prefix becomes: [[Zh/Targetname|Name]]
{{L|some Page#subsection|altlink}} while on pages starting with Ru/ prefix becomes: [[Ru/Some Page#subsection|altlink]]
{{L|logic_auto}} while on pages starting with Ru/ prefix becomes: [[Ru/Logic_auto|logic_auto]]