Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(some description updates) |
m (Bug fixed) |
||
Line 1: | Line 1: | ||
<includeonly>{{BubbleBox|background=splatfest|border={{SiteColor|{{{game|Splatoon 2}}}}}|style=flex: 9999 0 auto; overflow-y: auto; display: flex; flex-flow: column;|open}} | <includeonly>{{BubbleBox|background=splatfest|border={{SiteColor|{{{game|Splatoon 2}}}}}|style=flex: 9999 0 auto; overflow-y: auto; display: flex; flex-flow: column;|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 | <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]] | ||
|Splatoon 3=[[File:S3 Splatfest Logo.svg|24px|link=Splatfest]] | |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-wrap: wrap; justify-content: center; flex: 1 1 auto;"> | <div style="display: flex; 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;">{{{1|Global}}}</div> | <div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{1|Global}}}</div> |
Revision as of 21:41, 1 February 2024
Displays the current Splatfest schedule on the Main Page.
Syntax
region |
Unnamed. | The region of the Splatfest. |
start |
Unnamed. | The date and time, expressed as UTC, of the start of a 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 |
Unnamed. | The name of the first team. |
bravo |
Unnamed. | The name of the second team. |
charlie |
Unnamed. | The name of the third team. |
game= |
Splatoon 2 | The site color of the widget border, logo, and file format shown. |
link1= |
Unnamed. | The link to the Splatfest's page. In case of more Splatfests options for link2= , link3= and link4= are available (see Example).
|
image1= |
Unnamed. | The link to the Splatfest's page. In case of more Splatfests options for image2= , image3= and image4= are available (see Example).
|
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|North America and Oceania|Dec 31 2:00|Sweater|Sock}}
- With game parameter and two Splatfest
{{Schedule/Splatfest|Global|Jun 30 2:00|Callie|Marie|game=Splatoon}}
- With S3 system and one Splatfest
{{Schedule/Splatfest|Global|Sep 24 0:00|Gear|Grub|Fun|game=Splatoon 3|link1=Gear vs. Grub vs. Fun}}
- With S3 system and one Splatfest
{{Schedule/Splatfest|Japan|Feb 17 0:00 2024|Red Bean Paste|Custard|Whipped Cream|game=Splatoon 3|link1=Red Bean Paste vs. Custard vs. Whipped Cream|image1=S3 Splatfest Red Bean Paste vs. Custard vs. Whipped Cream Text.jpg|The Americas, Australia and New Zealand<br>Europe<br>Hong Kong and South Korea|Feb 17 0:00 2024|Friday|Saturday|Sunday|link2=Friday vs. Saturday vs. Sunday|image2=S3 Splatfest Friday vs. Saturday vs. Sunday UK Text.jpg}}
Output
North America and Oceania
![](http://cdn.wikimg.net/en/splatoonwiki/images/thumb/3/3e/Splatfest_Logo.png/24px-Splatfest_Logo.png)
Global
Global
Japan
The Americas, Australia and New Zealand
Europe
Hong Kong and South Korea
Europe
Hong Kong and South Korea