Template:LanguageBar/sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{High-use}}
<onlyinclude><!--
{{Documentation}}
<includeonly>


<onlyinclude>{{#if:{{{title|}}}|{{DISPLAYTITLE:{{{title}}}|noerror}}|{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{SUBPAGENAME}}|noreplace}}}}{{LanguageBar/call/sandbox
-->{{#if:{{{title|}}}
| BASENAME = {{{base|{{#ifeq: {{pagelang}} | en | {{PAGENAME}} | {{#titleparts: {{PAGENAME}} | 25 | 2 }} }}}}}
| {{DISPLAYTITLE:{{{title}}}|noerror}}
| USEDLANG = {{pagelang}}
| {{#ifeq:{{NAMESPACE}}|Category||{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{SUBPAGENAME}}|noreplace}}}}
}}</onlyinclude>
}}<!--
--><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"><!--


</includeonly>
- 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/flagline
| 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>

Latest revision as of 13:36, 1 October 2024

Flag-white.pngEnglish (en)