Template:Schedule/Eggstra Work: Difference between revisions
From Inkipedia, the Splatoon wiki
(specifying .png in the docs) |
Yoshifan52 (talk | contribs) (Corrected parameter definition following prize image filenames' correction) |
||
Line 14: | Line 14: | ||
'''Prizes:'''<br><center> | '''Prizes:'''<br><center> | ||
{| | {| | ||
|[[File: | |[[File:S3 Sticker basic {{Trim|{{{prize|Chum}}}}} sticker.png|32px]] || Bottom 50%{{#if:{{{50%|}}}|{{!}}{{!}}{{Cost|{{GameShortened|{{{game|S3}}}}}|{{#expr:{{Trim|{{{50%}}}}}-1}} or fewer|ge}}|}} | ||
|- | |- | ||
|[[File: | |[[File:S3 Sticker basic {{Trim|{{{prize|Chum}}}}} sticker.png|32px]] || Top 50% {{#if:{{{50%|}}}|{{!}}{{!}}{{Cost|{{GameShortened|{{{game|S3}}}}}|{{Trim|{{{50%}}}}}|ge}} & up|}} | ||
|- | |- | ||
|[[File: | |[[File:S3 Sticker basic {{Trim|{{{prize|Chum}}}}} sticker.png|32px]] || Top 20% {{#if:{{{20%|}}}|{{!}}{{!}}{{Cost|{{GameShortened|{{{game|S3}}}}}|{{Trim|{{{20%}}}}}|ge}} & up|}} | ||
|- | |- | ||
|[[File: | |[[File:S3 Sticker basic {{Trim|{{{prize|Chum}}}}} sticker.png|32px]] || Top 5% {{#if:{{{5%|}}}|{{!}}{{!}}{{Cost|{{GameShortened|{{{game|S3}}}}}|{{Trim|{{{5%}}}}}|ge}} & up|}} | ||
|}</center></div></div></div> | |}</center></div></div></div> | ||
</div></div> | </div></div> | ||
Line 52: | Line 52: | ||
|<code>countdown=</code>||Required||The date and time countdown, expressed as UTC, of the start of the North America/Oceanea Eggstra Work. Must be expressed in the following format: <code style="white-space: nowrap;">yyyy/MM/dd HH:nn</code> | |<code>countdown=</code>||Required||The date and time countdown, expressed as UTC, of the start of the North America/Oceanea Eggstra Work. Must be expressed in the following format: <code style="white-space: nowrap;">yyyy/MM/dd HH:nn</code> | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>prize=</code>||Required.|| Name of the prize being awarded<br>(Image file must be named in the form <code><nowiki>File:( | |<code>prize=</code>||Required.|| Name of the prize being awarded<br>(Image file must be named in the form <code><nowiki>File:S3_Sticker _(basic/bronze/silver/gold)_{{prize}}_sticker.png</nowiki></code>)<br>If not stated, defaults to 'Chum' | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>game=</code>||Required.<br>(default: Splatoon 3)||The <s>[[Template:SiteColor|site color]] of the widget border</s>, logos, and file formats shown. | |<code>game=</code>||Required.<br>(default: Splatoon 3)||The <s>[[Template:SiteColor|site color]] of the widget border</s>, logos, and file formats shown. | ||
Line 84: | Line 84: | ||
; With game parameter and prize parameter | ; With game parameter and prize parameter | ||
<nowiki>{{Schedule/Eggstra Work|Dec 10 0:00 2024|Sockeye Station|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2024/12/10 00:00|prize= | <nowiki>{{Schedule/Eggstra Work|Dec 10 0:00 2024|Sockeye Station|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2024/12/10 00:00|prize=Chum}}</nowiki> | ||
; With game parameter and prize parameter and results parameters | ; With game parameter and prize parameter and results parameters | ||
<nowiki>{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2023/05/01 00:00|prize= | <nowiki>{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2023/05/01 00:00|prize=Steelhead|5%=100|20%=80|50%=50}}</nowiki> | ||
=== Output === | === Output === | ||
{{Schedule/Eggstra Work|Apr 1 0:00 2022|Spawning Grounds|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|countdown=2022/04/01 00:00}} | {{Schedule/Eggstra Work|Apr 1 0:00 2022|Spawning Grounds|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|countdown=2022/04/01 00:00}} | ||
{{Schedule/Eggstra Work|Dec 10 0:00 2024|Sockeye Station|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2024/12/10 00:00|prize= | {{Schedule/Eggstra Work|Dec 10 0:00 2024|Sockeye Station|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2024/12/10 00:00|prize=Chum}} | ||
{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2023/05/01 00:00|prize= | {{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2023/05/01 00:00|prize=Steelhead|5%=100|20%=80|50%=50}} | ||
</noinclude> | </noinclude> |
Revision as of 22:46, 24 March 2023
Displays the current Eggstra Work schedule on the Main Page.
Syntax
start_naoc |
Unnamed. | The date and time, expressed as UTC, of the start of the North America/Oceanea Eggstra Work. 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. |
Weapon 1 |
Unnamed. | First weapon in the rotation |
Weapon 2 |
Unnamed. | Second weapon in the rotation |
Weapon 3 |
Unnamed. | Third weapon in the rotation |
Weapon 4 |
Unnamed. | Fourth weapon in the rotation |
start_eu |
Unnamed. | The date and time of the start of the Europe Eggstra Work. Follows the same format as start_naoc .
|
start_jp |
Unnamed. | The date and time of the start of the Japan Eggstra Work. 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 Eggstra Work. Must be expressed in the following format: yyyy/MM/dd HH:nn
|
prize= |
Required. | Name of the prize being awarded (Image file must be named in the form File:S3_Sticker _(basic/bronze/silver/gold)_{{prize}}_sticker.png )If not stated, defaults to 'Chum' |
game= |
Required. (default: Splatoon 3) |
The |
5%= |
Unnamed. | Top 5% score for a concluded Big Run. |
20%= |
Unnamed. | Top 20% score for a concluded Big Run. |
50%= |
Unnamed. | Top 50% score for a concluded Big Run. |
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 Eggstra Work 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
- Eggstra Work icon thing
- Make the background less scuffed.
- Currently uses File:Grizzco bg.png, brightness of the grizzco icon within it needs tweaking a bit though to properly fit the background aesthetics
- 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/Big Run template, could use some cleanup
- Might need to be updated to display additional stages if Eggstra Work uses more than one stage throughout the duration of the Eggstra Work/Eggstra Work has a stage rotation
- Update to add other relevant Eggstra Work info upon finding out about more info relevant to Eggstra Work
Example
Markup
- Without game parameter
{{Schedule/Eggstra Work|Apr 1 0:00 2022|Spawning Grounds|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|countdown=2022/04/01 00:00}}
- With game parameter and prize parameter
{{Schedule/Eggstra Work|Dec 10 0:00 2024|Sockeye Station|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2024/12/10 00:00|prize=Chum}}
- With game parameter and prize parameter and results parameters
{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot Jr.|Splat Dualies|Splat Roller|Splat Charger|game=Splatoon 3|countdown=2023/05/01 00:00|prize=Steelhead|5%=100|20%=80|50%=50}}
Output
Eggstra Work Alert
Apr 1 0:00 2022
2022/04/01 00:00|Salmonids are attacking!|
2022/04/01 00:00|Salmonids are attacking!|
Eggstra Work Alert
Dec 10 0:00 2024
2024/12/10 00:00|Salmonids are attacking!|
2024/12/10 00:00|Salmonids are attacking!|
Eggstra Work Alert
May 1 0:00 2023
2023/05/01 00:00|Salmonids are attacking!|
2023/05/01 00:00|Salmonids are attacking!|