Template:Lx/doc: Difference between revisions
Jump to navigation
Jump to search
(Nescius moved page Template:Lx/doc to Template:Lwx/doc) Tag: New redirect |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
# | More expensive version of [[Template:L]] that supports other namespaces than main and works properly on English pages too so can be safely used in templates that would transclude this on any page. | ||
<pre>{{Lx|Category:Level Design}} while on pages starting with Zh/ prefix | |||
becomes: | |||
[[:Category:Zh/Level Design|Category:Level Design]] | |||
</pre> | |||
<pre>{{Lx|Targetname|Name}} while on pages starting with Zh/ prefix | |||
becomes: | |||
[[Zh/Targetname|Name]] | |||
</pre> | |||
<pre>{{Lx|info_target}} while on pages starting with Sk/ prefix | |||
becomes: | |||
[[Sk/Info_target|info_target]] | |||
</pre> | |||
<pre> | |||
{{Lx|Category:level Design#subsection|altlink}} while on pages starting with Sk/ prefix | |||
becomes: | |||
[[:Category:Sk/Level Design#subsection|altlink]] | |||
</pre> | |||
== See Also == | |||
* [[Template:L]] | |||
* [[Template:ACategory]] |
Latest revision as of 00:17, 19 July 2024
More expensive version of Template:L that supports other namespaces than main and works properly on English pages too so can be safely used in templates that would transclude this on any page.
{{Lx|Category:Level Design}} while on pages starting with Zh/ prefix becomes: [[:Category:Zh/Level Design|Category:Level Design]]
{{Lx|Targetname|Name}} while on pages starting with Zh/ prefix becomes: [[Zh/Targetname|Name]]
{{Lx|info_target}} while on pages starting with Sk/ prefix becomes: [[Sk/Info_target|info_target]]
{{Lx|Category:level Design#subsection|altlink}} while on pages starting with Sk/ prefix becomes: [[:Category:Sk/Level Design#subsection|altlink]]