Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(More changes for single region) |
(Updating documentation with new functionality to define the year) |
||
Line 19: | Line 19: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- style="vertical-align: top;" | |- style="vertical-align: top;" | ||
|<code>start_naoc</code>||Unnamed.||The date and time, expressed as UTC, of the start of the North America/Oceanea Splatfest. Must be expressed in the following format: <code style="white-space: nowrap;">Mmm dd HH:nn</code> | |<code>start_naoc</code>||Unnamed.||The date and time, expressed as UTC, of the start of the North America/Oceanea 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) | ||
*<code>HH</code> is the hour in 24-hour time (one or two digits) | *<code>HH</code> is the hour in 24-hour time (one or two digits) | ||
*<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 | |||
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 left team won | *<code>alpha</code> if the left team won |
Revision as of 16:00, 26 December 2020
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. |
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
{{Schedule/Splatfest |Dec 31 2:00|Sweater|Sock<!-- -->|alpha|Film|Book<!-- -->|bravo|Vampire|Werewolf<!-- -->}}
Output
Global