Template:LanguageBar/sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<onlyinclude><!--
<onlyinclude><!--


Line 8: Line 6:
}}<!--
}}<!--
-->{{LanguageBar/call
--><div style="direction:{{text-dir|rtl=rtl}}; display:flex; gap:4px; width:calc(100% + 4px); user-select:none; pointer-events:none; position:absolute; z-index:100; top:calc(-17px - {{{up|{{#ifeq:{{{BASENAME}}}|{{SUBPAGENAME}}|0|9}}}}}px); left:-4px"><!--
| BASENAME = {{{base|{{#ifeq: {{pagelang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}}
 
| {{#if:{{{notranscat|}}}|notranscat|x}} = 1
- Flags -
 
--><div style="height:19px; background-color:#262626; border:1px solid #65635F; border-bottom:0;border-radius:3px 3px 0 0; pointer-events:all; margin-{{text-dir|ltr=left|rtl=right}}:auto"><!--
 
-->{{LanguageBar/foreach
| 1 = LanguageBar/line
| 2 = {{{base|{{#ifeq: {{pagelang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}}
| separator =
}}<!--
}}<!--
--></div></div><includeonly>[[Category:{{Language name|{{pagelang}}|en}}|{{{BASENAME}}}]]{{#ifeq:{{pagelang}}|en
|
| {{#if:{{{notranscat|}}}||{{ACategory|Translation}}}}
}}</includeonly><!--


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

Revision as of 04:39, 10 August 2024