Template:Schedule/Big Run: Difference between revisions
From Inkipedia, the Splatoon wiki
m (fixing docs for 5%, 20%, 50% params) |
(Random King Icon added) |
||
(40 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
<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;"> | <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;">[[File:{{{game|S3}}} Icon Big Run.svg|24px|link=Big Run]] [[Big Run]] Alert</div> | ||
<div style="display: flex; flex-wrap: wrap; justify-content: center"> | |||
<div style="display: flex; flex-wrap: wrap; justify-content: center | |||
<div style="border: 2px solid #ffffff; border-radius: 8px; min-width: 210px; max-width: 100%; margin: 1px; flex: 1 30%;"> | <div style="border: 2px solid #ffffff; border-radius: 8px; min-width: 210px; max-width: 100%; margin: 1px; flex: 1 30%;"> | ||
<div class=" | <div class="bubbleboxbg-lighter" style="text-align: center">'''Global'''</div> | ||
<div class="bubbleboxbg-darker" style="padding: 2px 4px 0px 4px; text-align: center | <div class="bubbleboxbg-darker" style="padding: 2px 4px 0px 4px; text-align: center"><!-- | ||
--><span class="splatfestTimer">{{ | --><span class="splatfestTimer">{{{bigrunTimer|}}}</span><br><!-- | ||
<span class="countdown">{{{countdown}}}|Salmonids are attacking!|</span>< | --><span class="countdown">{{{countdown}}}|Salmonids are attacking!|</span><!-- | ||
--><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File: | --><div style="display: flex; justify-content:center; gap:5%; flex-wrap: wrap; align-items: center"><!-- | ||
<div style=" | --><div style="display: inline-block; text-align: center;"><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{game|S3}}} Stage {{{stagename|}}}.png|200px|link={{{stagename|}}}]]</div><br><span style="font-size: large;">[[{{{stagename|}}}]]</span><!-- | ||
< | -->{{#if:{{{king|}}}|<br>'''King Salmonid:'''<br>{{#ifeq:{{{king}}}|?|[[File:S3 Icon Random King Salmonid.png|32px|link=King Salmonid]] [[King Salmonid|Random]]|[[File:S3 Icon {{{king}}}.png|32px|link={{{king}}}]] [[{{{king}}}]]<!-- /if -->}}<br><!-- /if -->}}<!-- | ||
--></div> | |||
-->{{#if:{{{50%|}}} | <div style="display: inline-block; text-align: center;"><!-- | ||
|< | -->'''Supplied weapons:'''<br>{{Weapon|{{{game|S3}}}|Main|{{{weapon1|}}}|32|icononly|var=2D Current}}{{Weapon|{{{game|S3}}}|Main|{{{weapon2|}}}|32|icononly|var=2D Current}}{{Weapon|{{{game|S3}}}|Main|{{{weapon3|}}}|32|icononly|var=2D Current}}{{Weapon|{{{game|S3}}}|Main|{{{weapon4|}}}|32|icononly|var=2D Current}}<br clear=all>{{#if:{{{weapon5|}}}|{{Weapon|{{{game|S3}}}|Main|{{{weapon5|}}}|32|var=2D Current}}<br>|}} | ||
'''Prizes:'''<br><center> | |||
{{ | {| | ||
< | |- | ||
</ | |{{#if:{{{prize|}}}|[[File:{{{game|S3}}} Decoration gold {{{prize|Cohozuna}}}.png|32px|link=Big Run#Rewards]]|}} || {{#if:{{{5%|}}}|<!-- | ||
-->Top 5% {{#if:{{{5%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{{5%}}}|ge}}<small> & up</small>|}}|<!-- | |||
--></div></includeonly><noinclude>__NOTOC__ | -->Gold {{#if:{{{gold%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{{gold%}}}|ge}}<small> & up</small>|}}<!-- | ||
-->}} | |||
|- | |||
|{{#if:{{{prize|}}}|[[File:{{{game|S3}}} Decoration silver {{{prize|Cohozuna}}}.png|32px|link=Big Run#Rewards]]|}} || {{#if:{{{20%|}}}|<!-- | |||
-->Top 20% {{#if:{{{20%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{{20%}}}|ge}}<small> & up</small>|}}|<!-- | |||
-->Silver {{#if:{{{silver%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{{silver%}}}|ge}}<small> & up</small>|}}<!-- | |||
-->}} | |||
|- | |||
|{{#if:{{{prize|}}}|[[File:{{{game|S3}}} Decoration bronze {{{prize|Cohozuna}}}.png|32px|link=Big Run#Rewards]]|}} || {{#if:{{{50%|}}}|<!-- | |||
-->Top 50% {{#if:{{{50%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{{50%}}}|ge}}<small> & up</small>|}}|<!-- | |||
-->Bronze {{#if:{{{bronze%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{{bronze%}}}|ge}}<small> & up</small>|}}<!-- | |||
-->}} | |||
|- | |||
|{{#if:{{{prize|}}}|[[File:{{{game|S3}}} Decoration base {{{prize|Cohozuna}}}.png|32px|link=Big Run#Rewards]]|}} || {{#if:{{{50%|}}}|<!-- | |||
-->Bottom 50%{{#if:{{{50%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{#expr:{{{50%}}}-1}}<small> or less</small>|ge}}|}}|<!-- | |||
-->Participation {{#if:{{{bronze%|}}}|{{!}}{{!}}{{Cost|{{{game|S3}}}|{{#expr:{{{bronze%}}}-1}}|ge}}<small> or less</small>|}}<!-- | |||
-->}} | |||
|}</center></div></div></div> | |||
<div class="bubbleboxbg-lighter" style="text-align: center"><small>{{{note|}}}</small></div> | |||
</div></div></div></includeonly><noinclude>__NOTOC__ | |||
Displays the current [[Big Run]] schedule on the [[Main Page]]. | Displays the current [[Big Run]] schedule on the [[Main Page]]. | ||
Line 25: | Line 43: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>bigrunTimer</code>||The date and time, expressed as UTC, of the start of the North America/Oceanea Big Run. Must be expressed in the following format: <code style="white-space: nowrap;">Mmm dd HH:nn yyyy</code> | ||
*<code>Mmm</code> is the first three letters of the month | *<code>Mmm</code> is the first three letters of the month | ||
*<code>dd</code> is the day of the month (one or two digits) | *<code>dd</code> is the day of the month (one or two digits) | ||
Line 32: | Line 50: | ||
*<code>yyyy</code> is the year | *<code>yyyy</code> is the year | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>stage</code> | |<code>stage</code>||The name of the stage which the big run will happen on. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>Weapon 1</code>||First weapon in the rotation | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>Weapon 2</code>||Second weapon in the rotation | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>Weapon 3</code>||Third weapon in the rotation | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>Weapon 4</code>||Fourth weapon in the rotation | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>Grizzco Weapon 1</code>||First known Grizzco weapon in the rotation | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>start_eu</code>||The date and time of the start of the Europe Big Run. Follows the same format as <code>start_naoc</code>. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>start_jp</code>||The date and time of the start of the Japan Big Run. Follows the same format as <code>start_naoc</code>. | ||
|- style="vertical-align: top;" | |||
|<code>countdown=</code>||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: <code style="white-space: nowrap;">yyyy/MM/dd HH:nn</code> | |||
|- style="vertical-align: top;" | |||
|<code>prize=</code>|| Name of the prize being awarded<br>(Image file must be named in the form <code><nowiki>File:{{game (shortened) [S3 etc]}} Decoration base/bronze/silver/gold {{prize}}.png</nowiki></code>)<br>If not stated, defaults to 'Cohozuna' | |||
|- style="vertical-align: top;" | |||
|<code>game=</code>||The logos and file formats shown. Defaults to S3. Use game abbreviations for this to work properly. | |||
|- style="vertical-align: top;" | |||
|<code>gold%=</code>|| Gold decoration requirement score for a Big Run. | |||
|- style="vertical-align: top;" | |||
|<code>silver%=</code>|| Silver decoration requirement score for a Big Run. | |||
|- style="vertical-align: top;" | |||
|<code>bronze%=</code>|| Bronze decoration requirement score for a Big Run. | |||
|- style="vertical-align: top;" | |||
|<code>note=</code>|| Optional. Adds a note at the bottom if used. | |||
|- style="vertical-align: top;" | |||
|<code>king=</code>|| Name of the [[King Salmonid]] appearing, or <code>?</code> if it is random. | |||
|- style="vertical-align: top;" | |||
|<code>5%=</code>|| (Deprecated) Top 5% score for a concluded Big Run, before Version 6.0.0. | |||
|- style="vertical-align: top;" | |||
|<code>20%=</code>|| (Deprecated) Top 20% score for a concluded Big Run, before Version 6.0.0. | |||
|- style="vertical-align: top;" | |||
|<code>50%=</code>|| (Deprecated) Top 50% score for a concluded Big Run, before Version 6.0.0. | |||
|} | |} | ||
Line 54: | Line 94: | ||
*If JavaScript is not available, the UTC time will be displayed with the "UTC" designation. | *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 <nowiki><span class="splatfestTimer"> ... </span></nowiki> | * Probably make the timer display span use a different class than <nowiki><span class="splatfestTimer"> ... </span></nowiki> | ||
** Maybe a 'bigRunTimer'? | ** 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 | * 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 == | == Example == | ||
=== Markup === | === Markup === | ||
; Without game parameter | ; Without game parameter | ||
<nowiki> | {<nowiki/>{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 | |||
{<nowiki/>{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}} | |||
{<nowiki/>{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 | |||
{<nowiki/>{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 | ; With game parameter and prize parameter and requirement parameters and king parameter (and note example) | ||
<nowiki> | {<nowiki/>{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.}} | ||
; With game parameter and results | ; (Deprecated) With game parameter and prize parameter and results parameters before Version 6.0.0 | ||
<nowiki> | {<nowiki/>{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 === | === Output === | ||
{{Schedule/Big Run|Apr 1 0:00 2022|Mahi-Mahi Resort|?|?|?|?|countdown=2022/04/01 00:00}} | {{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|countdown=2022/04/01 00:00}} | ||
{{Schedule/Big Run|Dec 10 0:00 2022|Wahoo World|?|?|?|?|Grizzco | {{Schedule/Big Run|bigrunTimer=Dec 10 0:00 2022|stagename=Wahoo World|weapon1=?|weapon2=?|weapon3=?|weapon4=?|weapon5=Grizzco Splatana|game=S3|countdown=2022/12/10 00:00|prize=Cohozuna}} | ||
{{Schedule/Big Run|Apr 1 0:00 2022|Mahi-Mahi Resort|?|?|?|?|game= | {{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}} | ||
{{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}} | |||
{{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.}} | |||
{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|weapon5=??|game=S3|countdown=2022/04/01 00:00|prize=Cohozuna|5%=100|20%=80|50%=50}} | |||
== Other testing stuff == | |||
; Really small screen testing (1st has width 275px, 2nd is 270px) | |||
<div><div style="width: 275px; display:inline-block">{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|weapon5=Grizzco Splatana|game=S3|countdown=2022/04/01 00:00|prize=Cohozuna|gold%=100|silver%=80|bronze%=50|king=Cohozuna}}</div><div style="width: 270px; display:inline-block">{{Schedule/Big Run|bigrunTimer=Apr 1 0:00 2022|stagename=Mahi-Mahi Resort|weapon1=?|weapon2=?|weapon3=?|weapon4=?|weapon5=Grizzco Splatana|game=S3|countdown=2022/04/01 00:00|prize=Cohozuna|gold%=100|silver%=80|bronze%=50|king=?|note=Due to a bug, the prizes given in-game are currently wrong.}}</div></div> | |||
[[Category:Salmon Run Next Wave]] | |||
</noinclude> | </noinclude> |
Revision as of 22:05, 20 February 2024
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
|
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!|
2022/04/01 00:00|Salmonids are attacking!|
Big Run Alert
Global
Dec 10 0:00 2022
2022/12/10 00:00|Salmonids are attacking!|
2022/12/10 00:00|Salmonids are attacking!|
Big Run Alert
Global
Mar 4 0:00 2023
2023/03/04 00:00|Salmonids are attacking!|
2023/03/04 00:00|Salmonids are attacking!|
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
2022/04/01 00:00|Salmonids are attacking!|
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
2022/04/01 00:00|Salmonids are attacking!|
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!|
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
Random Rare
Prizes:
Random Rare
Prizes:
Top 5% | 100 & up | |
Top 20% | 80 & up | |
Top 50% | 50 & up | |
Bottom 50% | 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!|
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
Grizzco Splatana
Prizes:
Grizzco Splatana
Prizes:
Gold | 100 & up | |
Silver | 80 & up | |
Bronze | 50 & up | |
Participation | 49 or less |
Big Run Alert
Global
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
2022/04/01 00:00|Salmonids are attacking!|
Supplied weapons:
Grizzco Splatana
Prizes:
Grizzco Splatana
Prizes:
Gold | 100 & up | |
Silver | 80 & up | |
Bronze | 50 & up | |
Participation | 49 or less |
Due to a bug, the prizes given in-game are currently wrong.