Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
m (MAINT: broken file links) |
Yoshifan52 (talk | contribs) m (Slapdash emergency fix for mainpage) |
||
Line 33: | Line 33: | ||
|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><!-- | ||
--><span style="font-size: large;">[[{{{link2|{{Trim|{{{8}}}}} vs. {{Trim|{{{9}}}}}}}}|{{#ifeq:{{Trim|{{{7}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{8}}}}}</span>|{{Trim|{{{8}}}}}}} vs. {{#ifeq:{{Trim|{{{7}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{9}}}}}</span>|{{Trim|{{{9}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{2}}}}}| | --><span style="font-size: large;">[[{{{link2|{{Trim|{{{8}}}}} vs. {{Trim|{{{9}}}}}}}}|{{#ifeq:{{Trim|{{{7}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{8}}}}}</span>|{{Trim|{{{8}}}}}}} vs. {{#ifeq:{{Trim|{{{7}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{9}}}}}</span>|{{Trim|{{{9}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{2}}}}}|delta|<span style="font-weight: bold; color: #000080;">{{Trim|{{{10}}}}}</span>|{{Trim|{{{10}}}}}}}|}}]]</span></div> | ||
</div></div>}} | </div></div>}} | ||
{{#if:{{{11|}}}|<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;"> | {{#if:{{{11|}}}|<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;"> |
Revision as of 03:43, 19 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