Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(Splatfest decoration) |
m (Minor change in Bubblebox style) |
||
Line 1: | Line 1: | ||
<includeonly>{{BubbleBox|background=splatfest|border={{SiteColor|{{{game|Splatoon 2}}}}}|style= | <includeonly>{{BubbleBox|background=splatfest|border={{SiteColor|{{{game|Splatoon 2}}}}}|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|}}} | ||
|Splatoon=[[File:Splatfest Logo.png|24px|link=Splatfest]] | |Splatoon=[[File:Splatfest Logo.png|24px|link=Splatfest]] |
Revision as of 11:19, 7 December 2022
Displays the current Splatfest schedule on the Main Page.
Syntax
start_naoc |
Unnamed. | The date and time, expressed as UTC, of the start of the North America/Oceanea Splatfest. Must be expressed in the following format: Mmm dd HH:nn yyyy
Alternately, if the Splatfest has concluded, the winner can be specified with one of the following instead of a time:
|
alpha_naoc |
Unnamed. | The name of the left team. |
bravo_naoc |
Unnamed. | The name of the right team. |
start_eu |
Unnamed. | The date and time of the start of the Europe Splatfest. Follows the same format as start_naoc .
|
alpha_eu |
Unnamed. | The name of the left team. |
bravo_eu |
Unnamed. | The name of the right team. |
start_jp |
Unnamed. | The date and time of the start of the Japan Splatfest. Follows the same format as start_naoc .
|
alpha_jp |
Unnamed. | The name of the left team. |
bravo_jp |
Unnamed. | The name of the right team. |
game= |
Splatoon 2 | The site color of the widget border, logo, and file format shown. |
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 Splatfest has already started or finished.
- If JavaScript is not available, the UTC time will be displayed with the "UTC" designation.
Example
Markup
- Without game parameter
{{Schedule/Splatfest|Dec 31 2:00|Sweater|Sock|alpha|Film|Book|bravo|Vampire|Werewolf}}
- With game parameter
{{Schedule/Splatfest|Jun 30 2:00|Callie|Marie|game=Splatoon}}
- With S3 system
{{Schedule/Splatfest|Sep 24 0:00|Gear|Grub|Fun|game=Splatoon 3|link left=Gear vs. Grub vs. Fun}}
Output
Splatfest Schedule
Global
Splatfest Schedule
Global
File:S3 Splatfest Logo.png Splatfest Schedule
Global