Difference between revisions of "Template:Home/Module"
From A3! Wiki
m (heck forgot to link banner2 as file hekjlsdh ((fingers crossed))) |
(more tweaks for proper size & linking; + #switch file name based on type (rn supports JP & EN revival & bday scouts)) |
||
Line 25: | Line 25: | ||
| EN Revival Tryouts = Revival Tryouts (EN server)#{{{year}}}|{{{enname}}} | | EN Revival Tryouts = Revival Tryouts (EN server)#{{{year}}}|{{{enname}}} | ||
| Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} }}]] }} | | Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} }}]] }} | ||
− | {{#if: {{{banner2|}}} | [[File:{{{banner2|}}} gacha.png]] | + | |
+ | {{#if: {{{banner2|}}} | [[File:{{{banner2|}}}{{#switch: {{{type|}}} | ||
+ | | Premium Scout = gacha.png | ||
+ | | Rerelease Scout = (Rerelease) gacha.png | ||
+ | | EN Premium Tryouts = EN gacha.png | ||
+ | | EN Revival Tryouts = (Revival) EN gacha.png }}|x225px|link={{#switch: {{{type|}}} | ||
+ | | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} | ||
+ | | Rerelease Scout = Rerelease Scouts#{{{year}}}|{{{name}}} | ||
+ | | EN Premium Tryouts = EN Tryout List{{#if:{{{year|}}}|/{{{year}}}|}}#{{{enname}}}|{{{enname}}} | ||
+ | | EN Revival Tryouts = Revival Tryouts (EN server)#{{{year}}}|{{{enname}}} }}]] }} | ||
+ | |||
<p>{{#if: {{{startdate|}}} | {{#switch: {{{timezone|}}} | <p>{{#if: {{{startdate|}}} | {{#switch: {{{timezone|}}} | ||
| PST to PST = {{#ifexpr: {{#time: xNU | {{{startdate}}} }} < {{#time: xNU |-8 hours}} | {{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 -0800</span>'''.</span>|}} | <span data-end="stop" class="countdown" style="display:none;">Starts in '''<span class="countdowndate" style="color:#c00">{{{startdate|}}}:59 -0800</span>'''.</span> }} | | PST to PST = {{#ifexpr: {{#time: xNU | {{{startdate}}} }} < {{#time: xNU |-8 hours}} | {{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 -0800</span>'''.</span>|}} | <span data-end="stop" class="countdown" style="display:none;">Starts in '''<span class="countdowndate" style="color:#c00">{{{startdate|}}}:59 -0800</span>'''.</span> }} |
Revision as of 06:24, 1 April 2021
Contents
{{Home/Module |type=Premium Scout, Limited Scout, Rerelease Scout, Event, EN Event, EN Tryout, EN Premium Tryouts, EN Revival Tryouts |year=(optional) |character= |troupe= |name= |startdate=JST for JP server; Pacific Time for EN server |enddate=JST for JP server; Pacific Time for EN server |timezone=PST to PST / PDT to PDT / PST to PDT / PDT to PST / leave blank for JST |multi= |banner=(optional) |banner2=only for 2nd banner }}
JST +9: 26 November 2024 12:13
PST -8: 25 November 2024 19:13
PDT -7: 25 November 2024 20:13
April 1 2018 00:00:59 +0900