Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TournamentTabs: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(One intermediate revision by the same user not shown)
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>

Latest revision as of 08:05, 23 January 2026

Navigation tabs for tournament pages. Theme-aware, compact, uniform width. Usage: