Template:Schedule/Big Run: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Fixed a bug in the documentation) |
m (Minor change in Bubblebox style) |
||
Line 1: | Line 1: | ||
<templatestyles src="Schedule/Big Run/styles.css" /><includeonly>{{BubbleBox|background=bigrun|border=241, 121, 42 |style= | <templatestyles src="Schedule/Big Run/styles.css" /><includeonly>{{BubbleBox|background=bigrun|border=241, 121, 42 |style=flex: 9999 0 300px; overflow-y: auto|open}} | ||
<div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; text-align: center; font-size: 20px; font-weight: bold; margin: 0 1px 1px;">{{#switch:{{{game|}}} | <div class="bubbleboxbg-lighter" style="border: 2px solid #ffffff; border-radius: 8px; text-align: center; font-size: 20px; font-weight: bold; margin: 0 1px 1px;">{{#switch:{{{game|}}} | ||
|#default=[[File:S3 Icon Big Run.png|24px|link=Big Run]]}} [[Big Run]] Alert</div> | |#default=[[File:S3 Icon Big Run.png|24px|link=Big Run]]}} [[Big Run]] Alert</div> |
Revision as of 11:17, 7 December 2022
Displays the current Big Run schedule on the Main Page.
Syntax
start_naoc |
Unnamed. | The date and time, expressed as UTC, of the start of the North America/Oceanea Big Run. Must be expressed in the following format: Mmm dd HH:nn yyyy
|
stage |
Unnamed. | The name of the stage which the big run will happen on. |
start_eu |
Unnamed. | The date and time of the start of the Europe Big Run. Follows the same format as start_naoc .
|
start_jp |
Unnamed. | The date and time of the start of the Japan Big Run. Follows the same format as start_naoc .
|
countdown= |
Required | The date and time countdown, expressed as UTC, of the start of the North America/Oceanea Big Run. Must be expressed in the following format: yyyy/MM/dd HH:nn
|
game= |
Splatoon 3 | The |
Remarks
- There is a JavaScript program backing this template that translates UTC times into the user's local time and updates the display according to whether the Big Run has already started or finished.
- Currently uses the 'splatfestTimer' thingy
- If JavaScript is not available, the UTC time will be displayed with the "UTC" designation.
TODO
- **BIG RUN REWARDS MILESTONES THINGY**
- top 50%, 10%, and 5% egg counts (ONLY FOR CONCLUDED BIG RUNS!)
- Probably make the timer display span use a different class than <span class="splatfestTimer"> ... </span>
- Maybe a 'bigRunTimer'?
- This was bodged together from the Template:Schedule/Splatfest template, could use some cleanup
- Might need to be updated to display additional stages if Big Run uses more than one stage throughout the duration of the Big Run/Big Run has a stage rotation
- Update to add other relevant Big Run info upon finding out about more info relevant to Big Run
Example
Markup
- Without game parameter
{{Schedule/Big Run|Apr 1 0:00 2022|Mahi-Mahi Resort|countdown=2022/04/01 00:00}}
- With game parameter
{{Schedule/Big Run|Dec 10 0:00 2022|Wahoo World|game=Splatoon 3|countdown=2022/04/01 00:00}}
Output