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