Template:Schedule/Big Run

From Inkipedia, the Splatoon wiki
Revision as of 15:15, 4 December 2023 by YetAnotherContrivedUsername (talk | contribs) (fixing weapon5 to work with random rare)

Displays the current Big Run schedule on the Main Page.

Syntax

bigrunTimer 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
  • Mmm is the first three letters of the month
  • dd is the day of the month (one or two digits)
  • HH is the hour in 24-hour time (one or two digits)
  • nn is the minute (two digits), usually zero
  • yyyy is the year
stage The name of the stage which the big run will happen on.
Weapon 1 First weapon in the rotation
Weapon 2 Second weapon in the rotation
Weapon 3 Third weapon in the rotation
Weapon 4 Fourth weapon in the rotation
Grizzco Weapon 1 First known Grizzco weapon in the rotation
start_eu The date and time of the start of the Europe Big Run. Follows the same format as start_naoc.
start_jp The date and time of the start of the Japan Big Run. Follows the same format as start_naoc.
countdown= 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
prize= Name of the prize being awarded
(Image file must be named in the form File:{{game (shortened) [S3 etc]}} Decoration base/bronze/silver/gold {{prize}}.png)
If not stated, defaults to 'Cohozuna'
game= The logos and file formats shown. Defaults to S3. Use game abbreviations for this to work properly.
gold%= Gold decoration requirement score for a Big Run.
silver%= Silver decoration requirement score for a Big Run.
bronze%= Bronze decoration requirement score for a Big Run.
note= Optional. Adds a note at the bottom if used.
king= Name of the King Salmonid appearing, or ? if it is random.
5%= (Deprecated) Top 5% score for a concluded Big Run, before Version 6.0.0.
20%= (Deprecated) Top 20% score for a concluded Big Run, before Version 6.0.0.
50%= (Deprecated) Top 50% score for a concluded Big Run, before Version 6.0.0.

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.

TO-DO

  • Probably make the timer display span use a different class than <span class="splatfestTimer"> ... </span>
    • Maybe a 'bigRunTimer'?
  • 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

Example

Markup

Without game parameter
{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|countdown=2022/04/01 00:00}}
With game parameter and prize parameter
{{Schedule/Big Run|bigrunTimer=Dec 10 0:00 2022|stagename=Wahoo World|weapon1=?|weapon2=?|weapon3=?|weapon4=?|weapon5=Grizzco Blaster|game=S3|countdown=2022/12/10 00:00|prize=Cohozuna}}
{{Schedule/Big Run|bigrunTimer=Mar 4 0:00 2023|stagename=Inkblot Art Academy|weapon1=?|weapon2=?|weapon3=?|weapon4=?|game=S3|countdown=2023/03/04 00:00|prize=Horrorboros}}
With game parameter and prize parameter and requirement parameters
{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|game=S3|countdown=2022/04/01 00:00|prize=Cohozuna|gold%=100|silver%=80|bronze%=50}}
With game parameter and prize parameter and requirement parameters and king parameter (and note example)
{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|game=S3|countdown=2022/04/01 00:00|prize=Cohozuna|gold%=100|silver%=80|bronze%=50|king=Cohozuna|note=Due to a bug, the prizes given in-game are currently wrong.}}
(Deprecated) With game parameter and prize parameter and results parameters before Version 6.0.0
{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|game=S3|countdown=2022/04/01 00:00|prize=Cohozuna|5%=100|20%=80|50%=50}}

Output

Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Prizes:
Gold
Silver
Bronze
Participation
Big Run Alert
Global
Dec 10 0:00 2022
2022/12/10 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Grizzco Splatana
Prizes:
Gold
Silver
Bronze
Participation
Big Run Alert
Global
Mar 4 0:00 2023
2023/03/04 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Prizes:
Gold
Silver
Bronze
Participation
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Prizes:
Gold Golden Eggs 100 & up
Silver Golden Eggs 80 & up
Bronze Golden Eggs 50 & up
Participation Golden Eggs 49 or less
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Prizes:
Gold Golden Eggs 100 & up
Silver Golden Eggs 80 & up
Bronze Golden Eggs 50 & up
Participation Golden Eggs 49 or less
Due to a bug, the prizes given in-game are currently wrong.
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Random Rare Random Rare
Prizes:
Top 5% Golden Eggs 100 & up
Top 20% Golden Eggs 80 & up
Top 50% Golden Eggs 50 & up
Bottom 50% Golden Eggs 49 or less

Other testing stuff

Really small screen testing (1st has width 275px, 2nd is 270px)
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Grizzco Splatana
Prizes:
Gold Golden Eggs 100 & up
Silver Golden Eggs 80 & up
Bronze Golden Eggs 50 & up
Participation Golden Eggs 49 or less
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
RandomRandomRandomRandom
Grizzco Splatana
Prizes:
Gold Golden Eggs 100 & up
Silver Golden Eggs 80 & up
Bronze Golden Eggs 50 & up
Participation Golden Eggs 49 or less
Due to a bug, the prizes given in-game are currently wrong.