Template:Tabs/Tab: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Old color of the links)
(Matching another template)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="display:flex; justify-content:center; position:relative; padding:.7em .8em"> [[{{{1|}}}{{#switch:{{{main|}}}|true=|&nbsp;({{{2|}}})}}|{{{alt|{{{2|}}}}}}]] {{#ifeq:{{FULLPAGENAME}}|{{#switch:{{{main|}}}|true = {{{1|}}} | {{{1|}}} ({{{2|}}}) }}
<div style="{{#ifeq:{{#ifeq:{{pagelang}}|en|{{FULLPAGENAME}}|{{NAMESPACE}}:{{ROOTPAGENAME}}/{{#titleparts:{{PAGENAME}}||1}}}}|{{#switch:{{{main|}}}|true = {{{1|}}} | {{{1|}}} ({{{2|}}}) }}
| <div style="position:absolute; bottom:0; width:90%; height:.2em; background-color:rgb(230 130 100)"></div>
| background-image:linear-gradient(0deg, rgb(38 38 38),rgb(42 42 42)); border:1px solid rgb(104 104 104); border-bottom:1px solid #262626; cursor:default;
| }}</div>
| background-color:rgb(36 36 36); border:1px solid rgb(80 80 80); border-bottom:1px solid #686868;}} border-radius:6px 6px 0 0; padding:1px 7px; margin-bottom:-1px">[[{{langprefix}}{{ucfirst:{{{1|}}}}}{{#switch:{{{main|}}}|true=|&nbsp;({{{2|}}})}}|{{{alt|{{{2|}}}}}}]]</div>

Latest revision as of 08:58, 23 November 2024

[[ ()|]]