Template:Schedule/Splatfest: Difference between revisions
From Inkipedia, the Splatoon wiki
m (It's Team Sock, per SplatNet data) |
(linked images to the splatfest articles) |
||
Line 34: | Line 34: | ||
}} | }} | ||
|- | |- | ||
|style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 0px 2px; text-align: center; padding: 2px 4px 0px 4px;"|<div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image left|S2 Splatfest | |style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 0px 2px; text-align: center; padding: 2px 4px 0px 4px;"|<div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image left|S2 Splatfest {{{2}}} vs {{{3}}}.png}}}|x64px|link={{{2}}} vs. {{{3}}}]]</div> | ||
|style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 0px 2px; text-align: center; padding: 2px 4px 0px 4px;"|<div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image middle|S2 Splatfest | |style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 0px 2px; text-align: center; padding: 2px 4px 0px 4px;"|<div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image middle|S2 Splatfest {{{5}}} vs {{{6}}}.png}}}|x64px|link={{{5}}} vs. {{{6}}}]]</div> | ||
|style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 0px 2px; text-align: center; padding: 2px 4px 0px 4px;"|<div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image right|S2 Splatfest | |style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 0px 2px; text-align: center; padding: 2px 4px 0px 4px;"|<div style="display: inline-block; border-radius: 8px; overflow: hidden;">[[File:{{{image right|S2 Splatfest {{{8}}} vs {{{9}}}.png}}}|x64px|link={{{8}}} vs. {{{9}}}]]</div> | ||
|- | |- | ||
|style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 2px 2px; border-radius: 0px 0px 8px 8px; text-align: center; font-size: 12px;"|{{#ifeq:{{Trim|{{{1}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{2}}}}}</span>|{{Trim|{{{2}}}}}}} vs. {{#ifeq:{{Trim|{{{1}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{3}}}}}</span>|{{Trim|{{{3}}}}}}} | |style="background-color: rgba(255, 255, 255, 0.4); border: 2px solid #ffffff; border-width: 0px 2px 2px 2px; border-radius: 0px 0px 8px 8px; text-align: center; font-size: 12px;"|{{#ifeq:{{Trim|{{{1}}}}}|alpha|<span style="font-weight: bold; color: #000080;">{{Trim|{{{2}}}}}</span>|{{Trim|{{{2}}}}}}} vs. {{#ifeq:{{Trim|{{{1}}}}}|bravo|<span style="font-weight: bold; color: #000080;">{{Trim|{{{3}}}}}</span>|{{Trim|{{{3}}}}}}} |
Revision as of 19:46, 15 September 2018
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
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 }}