Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(vertical centering) |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
<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; flex: 0 1 auto;">{{#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; flex: 0 1 auto;">{{#switch:{{{game|}}} | ||
|Splatoon=[[File:Splatfest Logo.png|24px|link=Splatfest]] | |Splatoon=[[File:Splatfest Logo.png|24px|link=Splatfest]] | ||
|Splatoon 3=[[File:S3 Splatfest Logo. | |Splatoon 3=[[File:S3 Splatfest Logo.svg|24px|link=Splatfest]] | ||
|#default=[[File:S2_Splatfest_Logo.svg|24px|link=Splatfest]]}} [[Splatfest]] Schedule</div> | |#default=[[File:S2_Splatfest_Logo.svg|24px|link=Splatfest]]}} [[Splatfest]] Schedule</div> | ||
<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;"> |
Revision as of 20:31, 17 June 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
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
Global
![](http://cdn.wikimg.net/en/splatoonwiki/images/thumb/3/3e/Splatfest_Logo.png/24px-Splatfest_Logo.png)
Global
Global