Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(Template remodelated to support multiple regions in one single template) |
(some description updates) |
||
Line 72: | Line 72: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>region</code>||Unnamed.||The region of the Splatfest. | ||
|- style="vertical-align: top;" | |||
|<code>start</code>||Unnamed.||The date and time, expressed as UTC, of the start of a Splatfest. Must be expressed in the following format: <code style="white-space: nowrap;">Mmm dd HH:nn yyyy</code> | |||
*<code>Mmm</code> is the first three letters of the month | *<code>Mmm</code> is the first three letters of the month | ||
*<code>dd</code> is the day of the month (one or two digits) | *<code>dd</code> is the day of the month (one or two digits) | ||
Line 83: | Line 85: | ||
*<code>charlie</code> if the third team won | *<code>charlie</code> if the third team won | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>alpha</code>||Unnamed.||The name of the first team. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>bravo</code>||Unnamed.||The name of the second team. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>charlie</code>||Unnamed.||The name of the third team. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>game=</code>||Splatoon 2||The [[Template:SiteColor|site color]] of the widget border, logo, and file format shown. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>link1=</code>||Unnamed.||The link to the Splatfest's page. In case of more Splatfests options for <code>link2=</code>, <code>link3=</code> and <code>link4=</code> are available (see '''Example'''). | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code> | |<code>image1=</code>||Unnamed.||The link to the Splatfest's page. In case of more Splatfests options for <code>image2=</code>, <code>image3=</code> and <code>image4=</code> are available (see '''Example'''). | ||
|} | |} | ||
Line 111: | Line 107: | ||
<nowiki>{{Schedule/Splatfest|North America and Oceania|Dec 31 2:00|Sweater|Sock}}</nowiki> | <nowiki>{{Schedule/Splatfest|North America and Oceania|Dec 31 2:00|Sweater|Sock}}</nowiki> | ||
; With game parameter | ; With game parameter and two Splatfest | ||
<nowiki>{{Schedule/Splatfest|Global|Jun 30 2:00|Callie|Marie|game=Splatoon}}</nowiki> | <nowiki>{{Schedule/Splatfest|Global|Jun 30 2:00|Callie|Marie|game=Splatoon}}</nowiki> | ||
; With S3 system | ; With S3 system and one Splatfest | ||
<nowiki>{{Schedule/Splatfest|Global|Sep 24 0:00|Gear|Grub|Fun|game=Splatoon 3| | <nowiki>{{Schedule/Splatfest|Global|Sep 24 0:00|Gear|Grub|Fun|game=Splatoon 3|link1=Gear vs. Grub vs. Fun}}</nowiki> | ||
; With S3 system and one Splatfest | |||
<nowiki>{{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}}</nowiki> | |||
=== Output === | === Output === | ||
{{Schedule/Splatfest|North America and Oceania|Dec 31 2:00|Sweater|Sock}} | {{Schedule/Splatfest|North America and Oceania|Dec 31 2:00|Sweater|Sock}} | ||
{{Schedule/Splatfest|Global|Jun 30 2:00|Callie|Marie|game=Splatoon}} | {{Schedule/Splatfest|Global|Jun 30 2:00|Callie|Marie|game=Splatoon}} | ||
{{Schedule/Splatfest|Global|Sep 24 0:00|Gear|Grub|Fun|game=Splatoon 3| | {{Schedule/Splatfest|Global|Sep 24 0:00|Gear|Grub|Fun|game=Splatoon 3|link1=Gear vs. Grub vs. Fun}} | ||
{{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}} | |||
</noinclude> | </noinclude> |
Revision as of 21:13, 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