Template:LCategory: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(shorter en link, Category: shown too if no altname provided)
mNo edit summary
Line 1: Line 1:
<onlyinclude><includeonly>[[:Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1|}}}}}|{{{2|Category:{{{1|}}}}}}]] {{#ifexist: Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1}}}}}||(<span class="plainlinks>[{{fullurl:Category:{{{1}}}}} en|true}}]</span>)}}</includeonly></onlyinclude>
<onlyinclude><includeonly>[[:Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1|}}}}}|{{{2|Category:{{{1|}}}}}}]] {{#ifexist: Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1}}}}}||(<span class="plainlinks>[{{fullurl:Category:{{{1}}}}} en]</span>)}}</includeonly></onlyinclude>
{{High-use}}
{{High-use}}
<pre>Template to link category page (not for adding category) on non English pages.
<pre>Template to link category page (not for adding category) on non English pages.

Revision as of 17:30, 16 July 2024

Warning icon.png
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.
Template to link category page (not for adding category) on non English pages.

{{LCategory|Level Design}} will on pages with prefix Zh/ become:

[[:Category:Zh/Level Design|Category:Level Design]]