Template:L
跳至導覽
跳至搜尋

Consider discussing changes on the talk page before implementing them.
Available doc translations
Important:Don't use on English pages or templates that would transclude this on an English page. Will not work properly there and is not supposed to avoid any extra unnecessary checks as this template should remain as light as possible. If transclusion to an English page is needed use more expensive version of this template {{Lx}} which also automatically checks for namespace to place the prefix in proper place.

This template is used on many pages and changes may be widely noticed.
Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage.Consider discussing changes on the talk page before implementing them.

…
The Template:L/doc/zh-tw documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
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.

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