Template:TournamentTabs: Difference between revisions
Template page
More actions
Esportsamaze (talk | contribs) Created page with "<noinclude> Navigation tabs for tournament pages. Usage: {{TournamentTabs}} </noinclude><includeonly> <div class="tournament-tabs" style="display:flex; border-bottom:2px solid var(--primary-color, #007bff); margin-bottom:20px;"> {{#var:basePage|{{#titleparts:{{PAGENAME}}|1}}}} <div style="padding:10px 20px; font-weight:bold; cursor:pointer; background-color:{{#ifeq:{{SUBPAGENAME}}|{{#var:basePage}}|#eee|#fff}}; border-bottom:{{#ifeq:{{SUBPAGENAME}}|{..." |
Esportsamaze (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class="tournament-tabs" style="display:flex; border-bottom:2px solid var(--primary-color, #007bff); margin-bottom:20px;"> | <div class="tournament-tabs" style="display:flex; border-bottom:2px solid var(--primary-color, #007bff); margin-bottom:20px;"> | ||
{{#var:basePage|{{#titleparts:{{PAGENAME}}|1}}}} | |||
<div style="padding:10px 20px; font-weight:bold; cursor:pointer; | |||
background-color:{{#ifeq:{{SUBPAGENAME}}|{{#var:basePage}}|#eee|#fff}}; | |||
border-bottom:{{#ifeq:{{SUBPAGENAME}}|{{#var:basePage}}|3px solid #007bff|none}};"> | |||
[[{{#var:basePage}}|<span style="color:#333;">Overview</span>]] | |||
</div> | |||
<div style="padding:10px 20px; font-weight:bold; cursor:pointer; | |||
background-color:{{#ifeq:{{SUBPAGENAME}}|Standings|#eee|#fff}}; | |||
border-bottom:{{#ifeq:{{SUBPAGENAME}}|Standings|3px solid #007bff|none}};"> | |||
[[{{#var:basePage}}/Standings|<span style="color:#333;">Standings</span>]] | |||
</div> | |||
<div style="padding:10px 20px; font-weight:bold; cursor:pointer; | |||
background-color:{{#ifeq:{{SUBPAGENAME}}|Statistics|#eee|#fff}}; | |||
border-bottom:{{#ifeq:{{SUBPAGENAME}}|Statistics|3px solid #007bff|none}};"> | |||
[[{{#var:basePage}}/Statistics|<span style="color:#333;">Statistics</span>]] | |||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||