Template:Doc/flag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Make category only appear if the language page actually exists.)
Line 1: Line 1:
<onlyinclude>{{#ifeq:{{uselang}}|{{{1|}}}|<span style="margin:1px; border:1px solid #AAA; border-radius:2px; padding:0 2px"><!--
<onlyinclude>{{#ifeq:{{uselang}}|{{{1|}}}|<span style="margin:1px; border:1px solid #AAA; border-radius:2px; padding:0 2px"><!--
--><span style="user-select:none; position:relative; top:-1px"><!--
--><span style="user-select:none; position:relative; top:-1px"><!--
-->{{Flag|{{{1|en}}}}}</span></span>[[Category:{{{2|}}}]]
-->{{Flag|{{{1|en}}}}}</span></span>{{#ifexist:{{{docpage|{{FULLPAGENAME}}{{#switch:{{{pagespace|{{SUBJECTSPACE}}}}}|#default=/doc|User=/about}}}}}{{#switch:{{{1|}}}|en=|/{{{1|}}}}}|[[Category:{{{2|}}}]]}}


| {{#if:{{{content{{#switch:{{{1|}}}|en=|/{{{1|}}}}}|}}}
| {{#if:{{{content{{#switch:{{{1|}}}|en=|/{{{1|}}}}}|}}}

Revision as of 02:40, 25 April 2023