Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
(new parameters finished and descriptions added) |
(note option added) |
||
Line 19: | Line 19: | ||
|#default=S2 Splatfest {{{alpha}}} vs {{{bravo}}}.png}}}}}}}}|x115px|link={{{link|{{{link1|{{{alpha}}} vs. {{{bravo}}}}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{alpha}}} vs {{{bravo}}}.png}}}}}}}}|x115px|link={{{link|{{{link1|{{{alpha}}} vs. {{{bravo}}}}}}}}}]]</div><br><!-- | ||
--><span style="font-size: large;">[[{{{link|{{{link1|{{Trim|{{{alpha}}}}} vs. {{Trim|{{{bravo}}}}}}}}}}}|{{#ifeq:{{Trim|{{{start}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha}}}}}</span>|{{Trim|{{{alpha}}}}}}} vs. {{#ifeq:{{Trim|{{{start}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo}}}}}</span>|{{Trim|{{{bravo}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie}}}}}</span>|{{Trim|{{{charlie}}}}}}}|}}]]</span></div> | --><span style="font-size: large;">[[{{{link|{{{link1|{{Trim|{{{alpha}}}}} vs. {{Trim|{{{bravo}}}}}}}}}}}|{{#ifeq:{{Trim|{{{start}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha}}}}}</span>|{{Trim|{{{alpha}}}}}}} vs. {{#ifeq:{{Trim|{{{start}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo}}}}}</span>|{{Trim|{{{bravo}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie}}}}}</span>|{{Trim|{{{charlie}}}}}}}|}}]]</span></div> | ||
</div></div> | </div><div class="bubbleboxbg-lighter" style="text-align: center"><small>{{{note|}}}</small></div></div> | ||
{{#if:{{{region2|}}}|<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:{{{region2|}}}|<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;"> | ||
<div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{region2}}}</div> | <div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{region2}}}</div> | ||
Line 34: | Line 34: | ||
|#default=S2 Splatfest {{{alpha2}}} vs {{{bravo2}}}.png}}}}}|x115px|link={{{link2|{{{alpha2}}} vs. {{{bravo2}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{alpha2}}} vs {{{bravo2}}}.png}}}}}|x115px|link={{{link2|{{{alpha2}}} vs. {{{bravo2}}}}}}]]</div><br><!-- | ||
--><span style="font-size: large;">[[{{{link2|{{Trim|{{{alpha2}}}}} vs. {{Trim|{{{bravo2}}}}}}}}|{{#ifeq:{{Trim|{{{start2}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha2}}}}}</span>|{{Trim|{{{alpha2}}}}}}} vs. {{#ifeq:{{Trim|{{{start2}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo2}}}}}</span>|{{Trim|{{{bravo2}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start2}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie2}}}}}</span>|{{Trim|{{{charlie2}}}}}}}|}}]]</span></div> | --><span style="font-size: large;">[[{{{link2|{{Trim|{{{alpha2}}}}} vs. {{Trim|{{{bravo2}}}}}}}}|{{#ifeq:{{Trim|{{{start2}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha2}}}}}</span>|{{Trim|{{{alpha2}}}}}}} vs. {{#ifeq:{{Trim|{{{start2}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo2}}}}}</span>|{{Trim|{{{bravo2}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start2}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie2}}}}}</span>|{{Trim|{{{charlie2}}}}}}}|}}]]</span></div> | ||
</div></div>}} | </div><div class="bubbleboxbg-lighter" style="text-align: center"><small>{{{note2|}}}</small></div></div>}} | ||
{{#if:{{{region3|}}}|<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:{{{region3|}}}|<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;"> | ||
<div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{region3}}}</div> | <div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{region3}}}</div> | ||
Line 49: | Line 49: | ||
|#default=S2 Splatfest {{{alpha3}}} vs {{{bravo3}}}.png}}}}}|x115px|link={{{link3|{{{alpha3}}} vs. {{{bravo3}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{alpha3}}} vs {{{bravo3}}}.png}}}}}|x115px|link={{{link3|{{{alpha3}}} vs. {{{bravo3}}}}}}]]</div><br><!-- | ||
--><span style="font-size: large;">[[{{{link3|{{Trim|{{{alpha3}}}}} vs. {{Trim|{{{bravo3}}}}}}}}|{{#ifeq:{{Trim|{{{start3}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha3}}}}}</span>|{{Trim|{{{alpha3}}}}}}} vs. {{#ifeq:{{Trim|{{{start3}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo3}}}}}</span>|{{Trim|{{{bravo3}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start3}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie3}}}}}</span>|{{Trim|{{{charlie3}}}}}}}|}}]]</span></div> | --><span style="font-size: large;">[[{{{link3|{{Trim|{{{alpha3}}}}} vs. {{Trim|{{{bravo3}}}}}}}}|{{#ifeq:{{Trim|{{{start3}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha3}}}}}</span>|{{Trim|{{{alpha3}}}}}}} vs. {{#ifeq:{{Trim|{{{start3}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo3}}}}}</span>|{{Trim|{{{bravo3}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start3}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie3}}}}}</span>|{{Trim|{{{charlie3}}}}}}}|}}]]</span></div> | ||
</div></div>}} | </div><div class="bubbleboxbg-lighter" style="text-align: center"><small>{{{note3|}}}</small></div></div>}} | ||
{{#if:{{{region4|}}}|<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:{{{region4|}}}|<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;"> | ||
<div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{region4}}}</div> | <div class="bubbleboxbg-lighter" style="text-align: center; font-weight: bold; flex: 0 1 auto;">{{{region4}}}</div> | ||
Line 64: | Line 64: | ||
|#default=S2 Splatfest {{{alpha4}}} vs {{{bravo4}}}.png}}}}}|x115px|link={{{link3|{{{alpha4}}} vs. {{{bravo4}}}}}}]]</div><br><!-- | |#default=S2 Splatfest {{{alpha4}}} vs {{{bravo4}}}.png}}}}}|x115px|link={{{link3|{{{alpha4}}} vs. {{{bravo4}}}}}}]]</div><br><!-- | ||
--><span style="font-size: large;">[[{{{link4|{{Trim|{{{alpha4}}}}} vs. {{Trim|{{{bravo4}}}}}}}}|{{#ifeq:{{Trim|{{{start4}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha4}}}}}</span>|{{Trim|{{{alpha4}}}}}}} vs. {{#ifeq:{{Trim|{{{start4}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo4}}}}}</span>|{{Trim|{{{bravo4}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start4}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie4}}}}}</span>|{{Trim|{{{charlie4}}}}}}}|}}]]</span></div> | --><span style="font-size: large;">[[{{{link4|{{Trim|{{{alpha4}}}}} vs. {{Trim|{{{bravo4}}}}}}}}|{{#ifeq:{{Trim|{{{start4}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{alpha4}}}}}</span>|{{Trim|{{{alpha4}}}}}}} vs. {{#ifeq:{{Trim|{{{start4}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{bravo4}}}}}</span>|{{Trim|{{{bravo4}}}}}}} {{#ifeq:{{{game|}}}|Splatoon 3|vs. {{#ifeq:{{Trim|{{{start4}}}}}|charlie|<span style="font-weight: bold; color: #000080;">{{Trim|{{{charlie4}}}}}</span>|{{Trim|{{{charlie4}}}}}}}|}}]]</span></div> | ||
</div></div>}} | </div><div class="bubbleboxbg-lighter" style="text-align: center"><small>{{{note4|}}}</small></div></div>}} | ||
</div></div></includeonly><noinclude>__NOTOC__ | </div></div></includeonly><noinclude>__NOTOC__ | ||
Displays the current [[Splatfest]] schedule on the [[Main Page]]. | Displays the current [[Splatfest]] schedule on the [[Main Page]]. | ||
Line 98: | Line 98: | ||
|- 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'''). | ||
|- style="vertical-align: top;" | |||
|<code>note=</code>|| Optional. Adds a note at the bottom if used. In case of more Splatfests, options for <code>note2=</code>, <code>note3=</code> and <code>note4=</code> are available. | |||
|} | |} | ||
Latest revision as of 12:13, 22 June 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).
|
note= |
Optional. Adds a note at the bottom if used. In case of more Splatfests, options for note2= , note3= and note4= are available.
|
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