Template:Schedule/Splatfest: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
(Removing ID, doesn't appear to be used for anything)
Line 6: Line 6:
<div style="display: flex; flex-flow: column; flex-wrap: wrap; justify-content: center; flex: 1 1 auto;">
<div style="display: flex; flex-flow: column; flex-wrap: wrap; justify-content: center; flex: 1 1 auto;">
<div style="border: 2px solid #ffffff; border-radius: 8px; min-width: 210px; max-width: 100%; margin: 1px; flex: 1 30%; display: flex; flex-flow: column;">
<div style="border: 2px solid #ffffff; border-radius: 8px; min-width: 210px; max-width: 100%; margin: 1px; flex: 1 30%; display: flex; flex-flow: column;">
<div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;" id="salmonFirst">Global</div>
<div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">Global</div>
<div class="bubbleboxbg-darker" style="padding: 2px 4px 0px 4px; text-align: center; flex: 1 1 auto; display: flex; justify-content: center">
<div class="bubbleboxbg-darker" style="padding: 2px 4px 0px 4px; text-align: center; flex: 1 1 auto; display: flex; justify-content: center">
<div style="align-self: center">{{#switch:{{Trim|{{{1}}}}}
<div style="align-self: center">{{#switch:{{Trim|{{{1}}}}}

Revision as of 05:16, 26 July 2023

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
  • 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

Alternately, if the Splatfest has concluded, the winner can be specified with one of the following instead of a time:

  • alpha if the first team won
  • bravo if the second team won
  • charlie if the third team won
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

S2 Splatfest Logo.svg Splatfest Schedule
Global
S3 Splatfest Logo.svg Splatfest Schedule
Global