Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Bug fixed) |
m (MAINT: broken file links) |
||
Line 15: | Line 15: | ||
}}<br><!-- | }}<br><!-- | ||
--><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image|{{{image1|{{#switch:{{{game|}}} | --><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image|{{{image1|{{#switch:{{{game|}}} | ||
|Splatoon=Splatfest {{{3}}} vs {{{4}}}.jpg | |Splatoon=S Splatfest {{{3}}} vs {{{4}}}.jpg | ||
|Splatoon 3=S3 Splatfest {{{3}}} vs {{{4}}} vs {{{5}}}.png | |Splatoon 3=S3 Splatfest {{{3}}} vs {{{4}}} vs {{{5}}}.png | ||
|#default=S2 Splatfest {{{3}}} vs {{{4}}}.png}}}}}}}}|x115px|link={{{link|{{{link1|{{{3}}} vs. {{{4}}}}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{3}}} vs {{{4}}}.png}}}}}}}}|x115px|link={{{link|{{{link1|{{{3}}} vs. {{{4}}}}}}}}}]]</div><br><!-- | ||
Line 30: | Line 30: | ||
}}<br><!-- | }}<br><!-- | ||
--><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image2|{{#switch:{{{game|}}} | --><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image2|{{#switch:{{{game|}}} | ||
|Splatoon=Splatfest {{{8}}} vs {{{9}}}.jpg | |Splatoon=S Splatfest {{{8}}} vs {{{9}}}.jpg | ||
|Splatoon 3=S3 Splatfest {{{8}}} vs {{{9}}} vs {{{10}}}.png | |Splatoon 3=S3 Splatfest {{{8}}} vs {{{9}}} vs {{{10}}}.png | ||
|#default=S2 Splatfest {{{8}}} vs {{{9}}}.png}}}}}|x115px|link={{{link2|{{{8}}} vs. {{{9}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{8}}} vs {{{9}}}.png}}}}}|x115px|link={{{link2|{{{8}}} vs. {{{9}}}}}}]]</div><br><!-- | ||
Line 45: | Line 45: | ||
}}<br><!-- | }}<br><!-- | ||
--><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image3|{{#switch:{{{game|}}} | --><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image3|{{#switch:{{{game|}}} | ||
|Splatoon=Splatfest {{{13}}} vs {{{14}}}.jpg | |Splatoon=S Splatfest {{{13}}} vs {{{14}}}.jpg | ||
|Splatoon 3=S3 Splatfest {{{13}}} vs {{{14}}} vs {{{15}}}.png | |Splatoon 3=S3 Splatfest {{{13}}} vs {{{14}}} vs {{{15}}}.png | ||
|#default=S2 Splatfest {{{13}}} vs {{{14}}}.png}}}}}|x115px|link={{{link3|{{{13}}} vs. {{{14}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{13}}} vs {{{14}}}.png}}}}}|x115px|link={{{link3|{{{13}}} vs. {{{14}}}}}}]]</div><br><!-- | ||
Line 60: | Line 60: | ||
}}<br><!-- | }}<br><!-- | ||
--><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image4|{{#switch:{{{game|}}} | --><div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image4|{{#switch:{{{game|}}} | ||
|Splatoon=Splatfest {{{18}}} vs {{{19}}}.jpg | |Splatoon=S Splatfest {{{18}}} vs {{{19}}}.jpg | ||
|Splatoon 3=S3 Splatfest {{{18}}} vs {{{19}}} vs {{{20}}}.png | |Splatoon 3=S3 Splatfest {{{18}}} vs {{{19}}} vs {{{20}}}.png | ||
|#default=S2 Splatfest {{{18}}} vs {{{19}}}.png}}}}}|x115px|link={{{link3|{{{18}}} vs. {{{19}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{18}}} vs {{{19}}}.png}}}}}|x115px|link={{{link3|{{{18}}} vs. {{{19}}}}}}]]</div><br><!-- |
Revision as of 23:18, 11 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
Splatfest Schedule
North America and Oceania
Splatfest Schedule
Global
Splatfest Schedule
Global
Splatfest Schedule
Japan
The Americas, Australia and New Zealand
Europe
Hong Kong and South Korea
Europe
Hong Kong and South Korea