Template:Schedule/Eggstra Work: Difference between revisions
From Inkipedia, the Splatoon wiki
Yoshifan52 (talk | contribs) (Added if statement to handle unknown prize parameter) |
(Score hidden if no records and/or sticker are available) |
||
(13 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Schedule/Big Run/styles.css" /><includeonly>{{BubbleBox|background=grizzco|border=241, 121, 42 |style=flex: 9999 0 300px; overflow-y: auto;|open}} | <templatestyles src="Schedule/Big Run/styles.css" /><includeonly>{{BubbleBox|background=grizzco|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: | |#default=[[File:{{{game|S3}}} Icon Eggstra Work.svg|24px|link=Eggstra Work]]}} [[Eggstra Work]]</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="bubbleboxbg-lighter | <div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; overflow: hidden">Global</div> | ||
</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">{{{eggstraworkTimer|}}}</span><br><!-- | ||
--><span class="countdown">{{{countdown}}}|Let's go get those eggs!|</span><br><!-- | --><span class="countdown">{{{countdown}}}|Let's go get those eggs!|</span><br><!-- | ||
--><div style="display: flex; justify-content:center; gap:5%; flex-wrap: wrap"><div style="display: inline-block; | --><div style="display: flex; justify-content:center; gap:5%; flex-wrap: wrap"><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><br>'''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}}{{#if:{{{7|}}}{{{special1|}}}|<br/>{{Weapon|{{{game|S3}}}|Special|{{{special1|Booyah Bomb}}}|32|icononly}}{{Weapon|{{{game|S3}}}|Special|{{{special2|Crab Tank}}}|32|icononly}}{{Weapon|{{{game|S3}}}|Special|{{{special3|Inkjet}}}|32|icononly}}{{Weapon|{{{game|S3}}}|Special|{{{special4|Killer Wail 5.1}}}|32|icononly}} |}}</div>{{#if:{{{prize|}}}{{{5%|}}}{{{20%|}}}{{{50%|}}}| | ||
{{Schedule/Eggstra Work/Score| | |||
prize = {{{prize|}}}| | |||
5% = {{{5%|}}}| | |||
20% = {{{20%|}}}| | |||
| | 50% = {{{50%|}}}}}}}</div> | ||
| | |||
</div></div> | </div></div> | ||
</div></div></includeonly><noinclude>__NOTOC__ | </div></div></includeonly><noinclude>__NOTOC__ | ||
Line 70: | Line 62: | ||
|<code>50%=</code>||Unnamed.|| Top 50% score for a concluded Big Run. | |<code>50%=</code>||Unnamed.|| Top 50% score for a concluded Big Run. | ||
|} | |} | ||
== Example == | == Example == | ||
=== Markup === | === Markup === | ||
; Without game and prize parameter | ; Without game and prize parameter | ||
<nowiki> | {<nowiki/>{Schedule/Eggstra Work|eggstraworkTimer=Apr 1 0:00 2022|stagename=Spawning Grounds|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|countdown=2022/04/01 00:00}} | ||
; With game parameter and prize parameter | ; With game parameter and prize parameter | ||
<nowiki> | {<nowiki/>{Schedule/Eggstra Work|eggstraworkTimer=Dec 10 0:00 2024|stagename=Sockeye Station|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|game=S3|countdown=2024/12/10 00:00|prize=Chum}} | ||
; With game parameter and prize parameter and results parameters | ; With game parameter and prize parameter and results parameters | ||
<nowiki> | {<nowiki/>{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}} | ||
; With game parameter and prize parameter and results and specials parameters | ; With game parameter and prize parameter and results and specials parameters | ||
<nowiki> | {<nowiki/>{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|special1=Booyah Bomb|special2=Crab Tank|special3=Inkjet|special4=Killer Wail 5.1|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}} | ||
=== 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|eggstraworkTimer=Apr 1 0:00 2022|stagename=Spawning Grounds|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=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= | {{Schedule/Eggstra Work|eggstraworkTimer=Dec 10 0:00 2024|stagename=Sockeye Station|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|game=S3|countdown=2024/12/10 00:00|prize=Chum}} | ||
{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot| | {{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}} | ||
{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot| | {{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|special1=Booyah Bomb|special2=Crab Tank|special3=Inkjet|special4=Killer Wail 5.1|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}} | ||
== Other testing stuff == | == Other testing stuff == | ||
; Really small screen testing (1st has width 275px, 2nd is 270px) | ; Really small screen testing (1st has width 275px, 2nd is 270px) | ||
<div><div style="width: 275px; display:inline-block">{{Schedule/Eggstra Work|May 1 0:00 2023|Gone Fission Hydroplant|Splattershot|Blaster|Splat Roller|Splat Charger|Booyah Bomb|Crab Tank|Inkjet|Killer Wail 5.1|game= | <div><div style="width: 275px; display:inline-block">{{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot|weapon2=Blaster|weapon3=Splat Roller|weapon4=Splat Charger|special1=Booyah Bomb|special2=Crab Tank|special3=Inkjet|special4=Killer Wail 5.1|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}}</div><div style="width: 270px; display:inline-block">{{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot|weapon2=Blaster|weapon3=Splat Roller|weapon4=Splat Charger|special1=Booyah Bomb|special2=Crab Tank|special3=Inkjet|special4=Killer Wail 5.1|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}}</div></div> | ||
[[Category:Salmon Run Next Wave]] | |||
</noinclude> | </noinclude> |
Revision as of 21:40, 2 May 2024
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 |
Special 1 |
Unnamed. | First special in the rotation |
Special 2 |
Unnamed. | Second special in the rotation |
Special 3 |
Unnamed. | Third special in the rotation |
Special 4 |
Unnamed. | Fourth special 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. |
Example
Markup
- Without game and prize parameter
{{Schedule/Eggstra Work|eggstraworkTimer=Apr 1 0:00 2022|stagename=Spawning Grounds|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|countdown=2022/04/01 00:00}}
- With game parameter and prize parameter
{{Schedule/Eggstra Work|eggstraworkTimer=Dec 10 0:00 2024|stagename=Sockeye Station|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|game=S3|countdown=2024/12/10 00:00|prize=Chum}}
- With game parameter and prize parameter and results parameters
{{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}}
- With game parameter and prize parameter and results and specials parameters
{{Schedule/Eggstra Work|eggstraworkTimer=May 1 0:00 2023|stagename=Gone Fission Hydroplant|weapon1=Splattershot Jr.|weapon2=Splat Dualies|weapon3=Splat Roller|weapon4=Splat Charger|special1=Booyah Bomb|special2=Crab Tank|special3=Inkjet|special4=Killer Wail 5.1|game=S3|countdown=2023/05/01 00:00|prize=Steelhead|5%=200|20%=180|50%=150}}
Output
Dec 10 0:00 2024
2024/12/10 00:00|Let's go get those eggs!|
2024/12/10 00:00|Let's go get those eggs!|
May 1 0:00 2023
2023/05/01 00:00|Let's go get those eggs!|
2023/05/01 00:00|Let's go get those eggs!|
May 1 0:00 2023
2023/05/01 00:00|Let's go get those eggs!|
2023/05/01 00:00|Let's go get those eggs!|
Other testing stuff
- Really small screen testing (1st has width 275px, 2nd is 270px)
May 1 0:00 2023
2023/05/01 00:00|Let's go get those eggs!|
2023/05/01 00:00|Let's go get those eggs!|
May 1 0:00 2023
2023/05/01 00:00|Let's go get those eggs!|
2023/05/01 00:00|Let's go get those eggs!|