Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(test) |
(new parameters finished and descriptions added) |
||
Line 71: | Line 71: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>region</code>||The region of the Splatfest. | |<code>region</code>||The region of the Splatfest. In case of more Splatfests, options for <code>region2=</code>, <code>region3=</code> and <code>region4=</code> are available (see '''Example'''). | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>start</code>||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>start</code>||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> | ||
Line 79: | Line 79: | ||
*<code>nn</code> is the minute (two digits), usually zero | *<code>nn</code> is the minute (two digits), usually zero | ||
*<code>yyyy</code> is the year | *<code>yyyy</code> is the year | ||
In case of more Splatfests, options for <code>start2=</code>, <code>start3=</code> and <code>start4=</code> are available (see '''Example'''). | |||
Alternately, if the Splatfest has concluded, the winner can be specified with one of the following instead of a time: | Alternately, if the Splatfest has concluded, the winner can be specified with one of the following instead of a time: | ||
*<code>alpha</code> if the first team won | *<code>alpha</code> if the first team won | ||
Line 84: | Line 87: | ||
*<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>alpha</code>|||The name of the first team. | |<code>alpha</code>|||The name of the first team. In case of more Splatfests, options for <code>alpha2=</code>, <code>alpha3=</code> and <code>alpha4=</code> are available (see '''Example'''). | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>bravo</code>||The name of the second team. | |<code>bravo</code>||The name of the second team. In case of more Splatfests, options for <code>bravo2=</code>, <code>bravo3=</code> and <code>bravo4=</code> are available (see '''Example'''). | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>charlie</code>||The name of the third team. | |<code>charlie</code>||The name of the third team. In case of more Splatfests, options for <code>charlie2=</code>, <code>charlie3=</code> and <code>charlie4=</code> are available (see '''Example'''). | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>game=</code> | |<code>game=</code>||The [[Template:SiteColor|site color]] of the widget border, logo, and file format shown. | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>link1=</code>||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'''). | |<code>link1=</code>||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>image1=</code>||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'''). | |<code>image1=</code>||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 128: | Line 131: | ||
; With S3 system and one Splatfest | ; 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> | <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| | {{Schedule/Splatfest | ||
|game=Splatoon | |||
{{Schedule/Splatfest|Global|Sep 24 0:00|Gear|Grub|Fun| | |region=Global | ||
{{Schedule/Splatfest|Japan|Feb 17 0:00 2024|Red Bean Paste|Custard|Whipped Cream | |start=Jun 30 2:00 | ||
|alpha=Callie | |||
|bravo=Marie | |||
|link=Callie vs. Marie | |||
}} | |||
{{Schedule/Splatfest | |||
|game=Splatoon 3 | |||
|region=Global | |||
|Sep 24 0:00 | |||
|alpha=Gear | |||
|bravo=Grub | |||
|charlie=Fun | |||
|link=Gear vs. Grub vs. Fun | |||
}} | |||
{{Schedule/Splatfest | |||
|game=Splatoon 3 | |||
|region=Japan | |||
|start=Feb 17 0:00 2024 | |||
|alpha=Red Bean Paste | |||
|bravo=Custard | |||
|charlie=Whipped Cream | |||
|link1=Red Bean Paste vs. Custard vs. Whipped Cream | |||
|image1=S3 Splatfest Red Bean Paste vs. Custard vs. Whipped Cream Text.jpg | |||
|region2=The Americas, Australia and New Zealand<br>Europe<br>Hong Kong and South Korea | |||
|start2=Feb 17 0:00 2024 | |||
|alpha2=Friday | |||
|bravo2=Saturday | |||
|charlie2=Sunday | |||
|link2=Friday vs. Saturday vs. Sunday | |||
|image2=S3 Splatfest Friday vs. Saturday vs. Sunday UK Text.jpg | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 12:23, 5 April 2024
Displays the current Splatfest schedule on the Main Page.
Syntax
region |
The region of the Splatfest. In case of more Splatfests, options for region2= , region3= and region4= are available (see Example).
|
start |
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
In case of more Splatfests, options for Alternately, if the Splatfest has concluded, the winner can be specified with one of the following instead of a time:
|
alpha |
The name of the first team. In case of more Splatfests, options for alpha2= , alpha3= and alpha4= are available (see Example).
|
bravo |
The name of the second team. In case of more Splatfests, options for bravo2= , bravo3= and bravo4= are available (see Example).
|
charlie |
The name of the third team. In case of more Splatfests, options for charlie2= , charlie3= and charlie4= are available (see Example).
|
game= |
The site color of the widget border, logo, and file format shown. |
link1= |
The link to the Splatfest's page. In case of more Splatfests, options for link2= , link3= and link4= are available (see Example).
|
image1= |
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 |game=Splatoon |region=Global |start=Jun 30 2:00 |alpha=Callie |bravo=Marie |link=Callie vs. Marie }}
- With S3 system and one Splatfest
{{Schedule/Splatfest |game=Splatoon 3 |region=Global |Sep 24 0:00 |alpha=Gear |bravo=Grub |charlie=Fun |link=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
Global
Global
Japan
The Americas, Australia and New Zealand
Europe
Hong Kong and South Korea
Europe
Hong Kong and South Korea