Template:TournamentTabs: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) No edit summary |
Esportsamaze (talk | contribs) No edit summary Tag: Reverted |
||
| Line 82: | Line 82: | ||
</div> | </div> | ||
}} | }} | ||
{{#ifexist: {{#switch:{{SUBPAGENAME}} | |||
|Standings|Statistics|Teams|Matches|The Grind|Test-Page={{#titleparts:{{PAGENAME}}|-1}} | |||
|#default={{PAGENAME}} | |||
}}/Test-Page| | |||
<div style="padding:5px 15px; min-width:100px; text-align:center; font-weight:bold; cursor:pointer; line-height:1.2; | |||
background-color:{{#ifeq:{{SUBPAGENAME}}|Test-Page|var(--tab-bg-active)|var(--tab-bg-inactive)}}; | |||
border-bottom:{{#ifeq:{{SUBPAGENAME}}|Test-Page|3px solid var(--tab-border-active)|none}};"> | |||
[[{{#switch:{{SUBPAGENAME}} | |||
|Standings|Statistics|Teams|Matches|The Grind|Test-Page={{#titleparts:{{PAGENAME}}|-1}} | |||
|#default={{PAGENAME}} | |||
}}/Test-Page|<span style="display:block; color:var(--text-main);">Matches</span>]] | |||
</div> | |||
}} | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||