Template:S3Schedule/Battle: Difference between revisions
From Inkipedia, the Splatoon wiki
(Changing to named parameters and adding support for schedule that uses both splatfest and non-splatfest data) |
(added support to challenge (hopefully)) |
||
Line 5: | Line 5: | ||
<div style="text-align: center; font-weight: bold; background-color: rgba(140, 255, 140, 0.65);">[[File:S2 Icon Regular Battle.svg|24px|link=Regular Battle]] [[Regular Battle]]</div> | <div style="text-align: center; font-weight: bold; background-color: rgba(140, 255, 140, 0.65);">[[File:S2 Icon Regular Battle.svg|24px|link=Regular Battle]] [[Regular Battle]]</div> | ||
{{S3Schedule/BattleRow | {{S3Schedule/BattleRow | ||
|{{Trim|{{{regmode_0|}}}}}|{{Trim|{{{regstage1_0|}}}}}|{{Trim|{{{regstage2_0|}}}}} | |mode_0={{Trim|{{{regmode_0|}}}}}|stage1_0={{Trim|{{{regstage1_0|}}}}}|stage2_0={{Trim|{{{regstage2_0|}}}}} | ||
|{{Trim|{{{regmode_1|}}}}}|{{Trim|{{{regstage1_1|}}}}}|{{Trim|{{{regstage2_1 | |mode_1={{Trim|{{{regmode_1|}}}}}|stage1_1={{Trim|{{{regstage1_1|}}}}}|stage2_1={{Trim|{{{regstage2_1|}}}}} | ||
}}</div>}}<!-- | }}</div>}}<!-- | ||
-->{{#if: {{{anaseriesstage1_0|}}}{{{anaseriesstage1_1|}}}{{{anaopenstage1_0|}}}{{{anaopenstage1_1|}}}|<div style="margin: 1px; border: 2px solid #f07a04; border-radius: 8px; overflow: hidden; flex: auto;"> | -->{{#if: {{{anaseriesstage1_0|}}}{{{anaseriesstage1_1|}}}{{{anaopenstage1_0|}}}{{{anaopenstage1_1|}}}|<div style="margin: 1px; border: 2px solid #f07a04; border-radius: 8px; overflow: hidden; flex: auto;"> | ||
Line 22: | Line 12: | ||
<div style="text-align: center; font-weight: bold; background-color: rgba(255, 163, 129, 0.65);">Series</div> | <div style="text-align: center; font-weight: bold; background-color: rgba(255, 163, 129, 0.65);">Series</div> | ||
{{S3Schedule/BattleRow | {{S3Schedule/BattleRow | ||
|{{Trim|{{{anaseriesmode_0|}}}}}|{{Trim|{{{anaseriesstage1_0|}}}}}|{{Trim|{{{anaseriesstage2_0|}}}}} | |mode_0={{Trim|{{{anaseriesmode_0|}}}}}|stage1_0={{Trim|{{{anaseriesstage1_0|}}}}}|stage2_0={{Trim|{{{anaseriesstage2_0|}}}}} | ||
|{{Trim|{{{anaseriesmode_1|}}}}}|{{Trim|{{{anaseriesstage1_1|}}}}}|{{Trim|{{{anaseriesstage2_1|}}}}} | |mode_1={{Trim|{{{anaseriesmode_1|}}}}}|stage1_1={{Trim|{{{anaseriesstage1_1|}}}}}|stage2_1={{Trim|{{{anaseriesstage2_1|}}}}} | ||
}} | }} | ||
<div style="text-align: center; font-weight: bold; background-color: rgba(255, 163, 129, 0.65);">Open</div> | <div style="text-align: center; font-weight: bold; background-color: rgba(255, 163, 129, 0.65);">Open</div> | ||
{{S3Schedule/BattleRow | {{S3Schedule/BattleRow | ||
|{{Trim|{{{anaopenmode_0|}}}}}|{{Trim|{{{anaopenstage1_0|}}}}}|{{Trim|{{{anaopenstage2_0|}}}}} | |mode_0={{Trim|{{{anaopenmode_0|}}}}}|stage1_0={{Trim|{{{anaopenstage1_0|}}}}}|stage2_0={{Trim|{{{anaopenstage2_0|}}}}} | ||
|{{Trim|{{{anaopenmode_1|}}}}}|{{Trim|{{{anaopenstage1_1|}}}}}|{{Trim|{{{anaopenstage2_1|}}}}} | |mode_1={{Trim|{{{anaopenmode_1|}}}}}|stage1_1={{Trim|{{{anaopenstage1_1|}}}}}|stage2_1={{Trim|{{{anaopenstage2_1|}}}}} | ||
}}</div>}}<!-- | }}</div>}}<!-- | ||
-->{{#if:{{{xstage1_0|}}}{{{xstage1_1|}}}|<div style="margin: 1px; border: 2px solid #2facac; border-radius: 8px; overflow: hidden; flex: auto;"> | -->{{#if:{{{xstage1_0|}}}{{{xstage1_1|}}}|<div style="margin: 1px; border: 2px solid #2facac; border-radius: 8px; overflow: hidden; flex: auto;"> | ||
<div style="text-align: center; font-weight: bold; background-color: rgba(105, 215, 215, 0.65);">[[File:S3XBattleLogo.png|24px|link=X Battle]] [[X Battle]]</div> | <div style="text-align: center; font-weight: bold; background-color: rgba(105, 215, 215, 0.65);">[[File:S3XBattleLogo.png|24px|link=X Battle]] [[X Battle]]</div> | ||
{{S3Schedule/BattleRow | {{S3Schedule/BattleRow | ||
|{{Trim|{{{xmode_0|}}}}}|{{Trim|{{{xstage1_0|}}}}}|{{Trim|{{{xstage2_0|}}}}} | |mode_0={{Trim|{{{xmode_0|}}}}}|stage1_0={{Trim|{{{xstage1_0|}}}}}|stage2_0={{Trim|{{{xstage2_0|}}}}} | ||
|{{Trim|{{{xmode_1|}}}}}|{{Trim|{{{xstage1_1|}}}}}|{{Trim|{{{xstage2_1|}}}}} | |mode_1={{Trim|{{{xmode_1|}}}}}|stage1_1={{Trim|{{{xstage1_1|}}}}}|stage2_1={{Trim|{{{xstage2_1|}}}}} | ||
}}</div>}}<!-- | |||
-->{{#if:{{{festprostage1_0|}}}{{{festprostage1_1|}}}{{{festopenstage1_0|}}}{{{festopenstage1_1|}}}|<div style="margin: 1px; border: 2px solid #4fffff; border-radius: 8px; overflow: hidden; flex: auto;"> | |||
<div style="text-align: center; font-weight: bold; background-color: rgba(140, 255, 255, 0.65);">[[File:S3_Splatfest_Logo.svg|24px|link=Splatfest]] [[Splatfest Battle]]</div> | |||
<div style="text-align: center; font-weight: bold; background-color: rgba(140, 255, 255, 0.65);">Open</div>{{S3Schedule/BattleRow | |||
|mode_0={{Trim|{{{festopenmode_0|}}}}}|stage1_0={{Trim|{{{festopenstage1_0|}}}}}|stage2_0={{Trim|{{{festopenstage2_0|}}}}} | |||
|mode_1={{Trim|{{{festopenmode_1|}}}}}|stage1_1={{Trim|{{{festopenstage1_1|}}}}}|stage2_1={{Trim|{{{festopenstage2_1|}}}}} | |||
}} | |||
<div style="text-align: center; font-weight: bold; background-color: rgba(140, 255, 255, 0.65);">Pro</div>{{S3Schedule/BattleRow | |||
|mode_0={{Trim|{{{festpromode_0|}}}}}|stage1_0={{Trim|{{{festprostage1_0|}}}}}|stage2_0={{Trim|{{{festprostage2_0|}}}}} | |||
|mode_1={{Trim|{{{festpromode_1|}}}}}|stage1_1={{Trim|{{{festprostage1_1|}}}}}|stage2_1={{Trim|{{{festprostage2_1|}}}}} | |||
}}</div>}}<!-- | }}</div>}}<!-- | ||
-->{{#if:{{{tricolorstage|}}}|<div style="overflow: hidden; flex: auto;"> | -->{{#if:{{{tricolorstage|}}}|<div style="overflow: hidden; flex: auto;"> | ||
<div style="margin: 1px; border: 2px solid #4fffff; border-radius: 8px;"> | <div style="margin: 1px; border: 2px solid #4fffff; border-radius: 8px;"> | ||
Line 50: | Line 44: | ||
<div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:S3 Stage {{Trim|{{{tricolorstage}}}}}.png|145px|link={{Trim|{{{tricolorstage}}}}}]]</div><br>[[{{Trim|{{{tricolorstage}}}}}]]</div>--> | <div style="text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:S3 Stage {{Trim|{{{tricolorstage}}}}}.png|145px|link={{Trim|{{{tricolorstage}}}}}]]</div><br>[[{{Trim|{{{tricolorstage}}}}}]]</div>--> | ||
{{S3Schedule/BattleRow | {{S3Schedule/BattleRow | ||
|{{#if:{{{festpromode_0|}}}{{{festopenmode_0|}}}|Tricolor Turf War}}|{{#if:{{{festpromode_0|}}}{{{festopenmode_0|}}}|{{Trim|{{{tricolorstage}}}}}}}| | |mode_0={{#if:{{{festpromode_0|}}}{{{festopenmode_0|}}}|Tricolor Turf War}}|stage1_0={{#if:{{{festpromode_0|}}}{{{festopenmode_0|}}}|{{Trim|{{{tricolorstage}}}}}}}| | ||
|{{#if:{{{festpromode_1|}}}{{{festopenmode_1|}}}|Tricolor Turf War}}|{{#if:{{{festpromode_1|}}}{{{festopenmode_1|}}}|{{Trim|{{{tricolorstage}}}}}}}| | |mode_1={{#if:{{{festpromode_1|}}}{{{festopenmode_1|}}}|Tricolor Turf War}}|stage1_1={{#if:{{{festpromode_1|}}}{{{festopenmode_1|}}}|{{Trim|{{{tricolorstage}}}}}}}| | ||
|nounknown=true | |nounknown=true | ||
|singlecolumn={{#if:{{{festpromode_0|}}}{{{festopenmode_0|}}}|{{#if:{{{festpromode_1|}}}{{{festopenmode_1|}}}|true|false}}|false}} | |singlecolumn={{#if:{{{festpromode_0|}}}{{{festopenmode_0|}}}|{{#if:{{{festpromode_1|}}}{{{festopenmode_1|}}}|true|false}}|false}} | ||
Line 57: | Line 51: | ||
</div> | </div> | ||
</div>}}<!-- | </div>}}<!-- | ||
--><div style="display: flex; flex-wrap: wrap; justify-content: space-evenly; padding-bottom: 2px;"><div class="bubbleboxbg-lighter" style="flex: 1 1 0px; min-width: 298px; text-align: center; font-weight: bold; font-size: 14px; border: 2px solid #ffffff; border-radius: 8px; margin: 1px;">Upcoming</div><div class="bubbleboxbg-lighter" style="flex: 1 1 0px; min-width: 298px; text-align: center; font-weight: bold; font-size: 14px; border: 2px solid #ffffff; border-radius: 8px; margin: 1px;">Next</div><div></div></div> | |||
{{#if:{{{leaguestage1_0|}}}{{{leaguestage1_1|}}}|<div style="margin: 1px; border: 2px solid #da0ab8; border-radius: 8px; overflow: hidden; flex: auto;"><!-- | |||
--><div style="text-align: center; font-weight: bold; background-color: rgba(255, 148, 193, 0.65);">[[File:S3 Icon Challenge.svg|24px|link=Challenge]] [[Challenge]]</div> | |||
{{S3Schedule/BattleRow | |||
|mode_0={{Trim|{{{leaguemode_0|}}}}}|stage1_0={{Trim|{{{leaguestage1_0|}}}}}|stage2_0={{Trim|{{{leaguestage2_0|}}}}}|desc_0={{Trim|{{{leaguedesc_0|}}}}} | |||
|mode_1={{Trim|{{{leaguemode_1|}}}}}|stage1_1={{Trim|{{{leaguestage1_1|}}}}}|stage2_1={{Trim|{{{leaguestage2_1|}}}}}|desc_1={{Trim|{{{leaguedesc_1|}}}}} | |||
}}</div>}}<!-- | |||
--> | --> | ||
<div class="bubbleboxbg-lighter" style="text-align: center; font-size: 10px; border: 2px solid #ffffff; border-radius: 8px; margin: 1px 1px 0;">Last fetched: <span id="battleFetched">{{Trim|{{{time}}}}} UTC</span></div> | <div class="bubbleboxbg-lighter" style="text-align: center; font-size: 10px; border: 2px solid #ffffff; border-radius: 8px; margin: 1px 1px 0;">Last fetched: <span id="battleFetched">{{Trim|{{{time}}}}} UTC</span></div> | ||
Line 77: | Line 78: | ||
2. During Splatfest: | 2. During Splatfest: | ||
<nowiki>{{ | <nowiki>{{S3Schedule/Battle | ||
|festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard | |festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard | ||
|festpromode_1=Turf War|festprostage1_1=Hammerhead Bridge|festprostage2_1=Scorch Gorge | |festpromode_1=Turf War|festprostage1_1=Hammerhead Bridge|festprostage2_1=Scorch Gorge | ||
Line 87: | Line 88: | ||
3. One rotation before Splatfest start: | 3. One rotation before Splatfest start: | ||
<nowiki>{{ | <nowiki>{{S3Schedule/Battle | ||
|regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort | |regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort | ||
|anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley | |anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley | ||
Line 113: | Line 114: | ||
=== Output === | === Output === | ||
1. Non-Splatfest: | 1. Non-Splatfest: | ||
{{ | {{S3Schedule/Battle | ||
|regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort | |regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort | ||
|anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley | |anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley | ||
Line 128: | Line 129: | ||
2. During Splatfest: | 2. During Splatfest: | ||
{{ | {{S3Schedule/Battle | ||
|festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard | |festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard | ||
|festpromode_1=Turf War|festprostage1_1=Hammerhead Bridge|festprostage2_1=Scorch Gorge | |festpromode_1=Turf War|festprostage1_1=Hammerhead Bridge|festprostage2_1=Scorch Gorge | ||
Line 138: | Line 139: | ||
3. One rotation before Splatfest start: | 3. One rotation before Splatfest start: | ||
{{ | {{S3Schedule/Battle | ||
|regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort | |regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort | ||
|anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley | |anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley | ||
Line 150: | Line 151: | ||
4. One rotation before Splatfest end: | 4. One rotation before Splatfest end: | ||
{{ | {{S3Schedule/Battle | ||
|festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard | |festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard | ||
|festopenmode_0=Turf War|festopenstage1_0=Museum d'Alfonsino|festopenstage2_0=Flounder Heights | |festopenmode_0=Turf War|festopenstage1_0=Museum d'Alfonsino|festopenstage2_0=Flounder Heights |
Revision as of 14:15, 3 December 2023
Markup
1. Non-Splatfest:
{{S3Schedule/Battle |regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort |anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley |anaopenmode_0=Splat Zones|anaopenstage1_0=Inkblot Art Academy|anaopenstage2_0=Scorch Gorge |xmode_0=Clam Blitz|xstage1_0=Hagglefish Market|xstage2_0=MakoMart |leaguemode_0=Rainmaker|leaguestage1_0=Flounder Heights|leaguestage2_0=Brinewater Springs |regmode_1=Turf War|regstage1_1=Hammerhead Bridge|regstage2_1=Scorch Gorge |anaseriesmode_1=Clam Blitz|anaseriesstage1_1=Sturgeon Shipyard|anaseriesstage2_1=Mincemeat Metalworks |anaopenmode_1=Rainmaker|anaopenstage1_1=Flounder Heights|anaopenstage2_1=Undertow Spillway |xmode_1=Tower Control|xstage1_1=Brinewater Springs|xstage2_1=Museum d'Alfonsino |leaguemode_1=Splat Zones|leaguestage1_1=Wahoo World|leaguestage2_1=Sturgeon Shipyard |time=Apr 14 16:27 }}
2. During Splatfest:
{{S3Schedule/Battle |festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard |festpromode_1=Turf War|festprostage1_1=Hammerhead Bridge|festprostage2_1=Scorch Gorge |festopenmode_0=Turf War|festopenstage1_0=Museum d'Alfonsino|festopenstage2_0=Flounder Heights |festopenmode_1=Rainmaker|festopenstage1_1=Flounder Heights|festopenstage2_1=Undertow Spillway |tricolorstage=Wahoo World |time=Apr 14 16:27 }}
3. One rotation before Splatfest start:
{{S3Schedule/Battle |regmode_0=Turf War|regstage1_0=Mincemeat Metalworks|regstage2_0=Mahi-Mahi Resort |anaseriesmode_0=Tower Control|anaseriesstage1_0=Wahoo World|anaseriesstage2_0=Eeltail Alley |anaopenmode_0=Splat Zones|anaopenstage1_0=Inkblot Art Academy|anaopenstage2_0=Scorch Gorge |xmode_0=Clam Blitz|xstage1_0=Hagglefish Market|xstage2_0=MakoMart |leaguemode_0=Rainmaker|leaguestage1_0=Flounder Heights|leaguestage2_0=Brinewater Springs |festpromode_1=Turf War|festprostage1_1=Hammerhead Bridge|festprostage2_1=Scorch Gorge |festopenmode_1=Rainmaker|festopenstage1_1=Flounder Heights|festopenstage2_1=Undertow Spillway |time=Apr 14 16:27 }}
4. One rotation before Splatfest end:
{{S3Schedule/Battle |festpromode_0=Turf War|festprostage1_0=Hagglefish Market|festprostage2_0=Sturgeon Shipyard |festopenmode_0=Turf War|festopenstage1_0=Museum d'Alfonsino|festopenstage2_0=Flounder Heights |tricolorstage=Wahoo World |regmode_1=Turf War|regstage1_1=Hammerhead Bridge|regstage2_1=Scorch Gorge |anaseriesmode_1=Clam Blitz|anaseriesstage1_1=Sturgeon Shipyard|anaseriesstage2_1=Mincemeat Metalworks |anaopenmode_1=Rainmaker|anaopenstage1_1=Flounder Heights|anaopenstage2_1=Undertow Spillway |xmode_1=Tower Control|xstage1_1=Brinewater Springs|xstage2_1=Museum d'Alfonsino |leaguemode_1=Splat Zones|leaguestage1_1=Wahoo World|leaguestage2_1=Sturgeon Shipyard |time=Apr 14 16:27 }}
Output
1. Non-Splatfest:
Stage Schedule
Now
Next
Upcoming
Next
Last fetched: Apr 14 16:27 UTC
2. During Splatfest:
Stage Schedule
Now
Next
Upcoming
Next
Last fetched: Apr 14 16:27 UTC
3. One rotation before Splatfest start:
Stage Schedule
Now
Next
Upcoming
Next
Last fetched: Apr 14 16:27 UTC
4. One rotation before Splatfest end:
Stage Schedule
Now
Next
Upcoming
Next
Last fetched: Apr 14 16:27 UTC