Template:LanguageBar/flag: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(checking pagesincategory for categories as suggested here)
(linkless ifexist suggestion from here)
Line 1: Line 1:
{{#ifexist:{{NAMESPACE}}:{{{1}}}/{{{BASENAME}}}
{{#if:{{PROTECTIONEXPIRY:edit|{{NAMESPACE}}:{{{1}}}/{{{BASENAME}}}}}
| {{#ifeq:{{{USEDLANG}}}|{{{1}}}
| {{#ifeq:{{{USEDLANG}}}|{{{1}}}
| <span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|{{{1}}}}}</span></span>
| <span style="background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.3); border-radius:2px; padding:0 1px; margin:1px"><span style="user-select:none; position:relative; top:-1px">{{Flag|{{{1}}}}}</span></span>

Revision as of 18:45, 6 August 2024

[[File:Flag-{{{1}}}.png|link=Template:{{{1}}}/{{{BASENAME}}}|16px|]]