Template:LCategory: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(PabloS added the hideifnotnew css class so (en) part of the link can be hidden automatically, thanks PabloS)
Line 11: Line 11:
<onlyinclude><!--
<onlyinclude><!--


-->[[:Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1|}}}}}|{{{2|Category:{{{1|}}}}}}]]{{#ifexist: Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1}}}}}||(<span class="plainlinks>[{{fullurl:Category:{{{1}}}}} en]</span>)}}<!--
-->[[:Category:{{ROOTPAGENAME}}/{{ucfirst:{{{1|}}}}}|{{{2|Category:{{{1|}}}}}}]]<span class="plainlinks hideifnotnew">([{{fullurl:Category:{{{1}}}}} en])</span><!--


--></onlyinclude>
--></onlyinclude>

Revision as of 22:14, 12 August 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]]