Template:L/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
becomes:
becomes:
[[Ru/Some Page#subsection|altlink]]
[[Ru/Some Page#subsection|altlink]]
</pre>
<pre>{{L|logic_auto}} while on pages starting with Ru/ prefix
becomes:
[[Ru/Logic_auto|logic_auto]]
</pre>
</pre>
{{important|Don't use on English pages. Will not work properly there and is not supposed to}}
{{important|Don't use on English pages. Will not work properly there and is not supposed to}}

Revision as of 05:51, 11 July 2024

Template to use for links on non-English articles.

{{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]]
<pre>{{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]]
Icon-Important.pngImportant:Don't use on English pages. Will not work properly there and is not supposed to