Difference between revisions of "Template:Home/Module"
From A3! Wiki
m (more tests..) |
|||
(26 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
<p style="font-weight: bold; font-size: 1.2em;">{{#switch: {{{type|}}} | <p style="font-weight: bold; font-size: 1.2em;">{{#switch: {{{type|}}} | ||
− | | Rerelease Scout = [[ | + | | Rerelease Scout = [[Rerelease Scouts#{{{year}}}|{{{name}}}]] |
| Limited Scout | Premium Scout = [[Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | | Limited Scout | Premium Scout = [[Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | ||
| Rerelease Event | Event = [[{{{name}}}]] | {{{name}}} | | Rerelease Event | Event = [[{{{name}}}]] | {{{name}}} | ||
| EN Event = [[{{{enname}}}]] | {{{enname}}} | | EN Event = [[{{{enname}}}]] | {{{enname}}} | ||
− | | EN Tryout | EN Premium Tryouts = [[EN Tryout List{{#if:{{{year|}}}|/{{{year}}}|}}#{{{enname}}}|{{{enname}}}]] }}</p> | + | | EN Tryout | EN Premium Tryouts = [[EN Tryout List{{#if:{{{year|}}}|/{{{year}}}|}}#{{{enname}}}|{{{enname}}}]] |
+ | | EN Revival Tryouts = [[Revival Tryouts (EN server)#{{{year}}}|{{{enname}}}]] | ||
+ | | EN Revival Token Tryouts = [[Revival Token Tryouts (EN server)#Birthday Revival Tryouts|{{{enname}}}]] | ||
+ | | Campaign = [[{{{name}}}]] }} | ||
+ | </p> | ||
{{#ifeq: {{{multi|}}} | y | {{{banner|}}} | {{#ifeq: {{{multi|}}} | y | {{{banner|}}} | ||
− | | [[File:{{#if: {{{banner|}}} | {{{banner|}}} | + | | [[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}} |
− | | {{#switch: {{{type|}}} | + | | Event = {{#replace:{{{name}}}|:|-}} event banner.png |
| Rerelease Event = 2018-12 event banner.png | | Rerelease Event = 2018-12 event banner.png | ||
− | | | + | | Limited Scout | Premium Scout = {{{name}}} gacha.png |
+ | | Rerelease Scout = {{{name}}} (Rerelease) gacha.png | ||
| EN Event = {{{enname}}} EN event banner.png | | EN Event = {{{enname}}} EN event banner.png | ||
| EN Tryout | EN Premium Tryouts = {{{enname}}} EN gacha.png | | EN Tryout | EN Premium Tryouts = {{{enname}}} EN gacha.png | ||
− | | | + | | EN Revival Tryouts = {{{enname}}} (Revival) EN gacha.png |
− | | | + | | EN Revival Token Tryouts = {{{enname}}} (Token Revival) EN gacha.png }} }}|x225px|link={{#switch: {{{type|}}} |
+ | | Event = {{{name}}}|{{{name}}} | ||
+ | | Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} | ||
+ | | Rerelease Scout = Rerelease Scouts#{{{year}}}|{{{name}}} | ||
| EN Event = {{{enname}}}|{{{enname}}} | | EN Event = {{{enname}}}|{{{enname}}} | ||
| EN Tryout | EN Premium Tryouts = EN Tryout List{{#if:{{{year|}}}|/{{{year}}}|}}#{{{enname}}}|{{{enname}}} | | EN Tryout | EN Premium Tryouts = EN Tryout List{{#if:{{{year|}}}|/{{{year}}}|}}#{{{enname}}}|{{{enname}}} | ||
− | | | + | | EN Revival Tryouts = Revival Tryouts (EN server)#{{{year}}}|{{{enname}}} |
− | <p>{{#if: {{{startdate|}}}|{{#ifexpr: {{#time: xNU | {{{startdate}}} }} < {{#time: xNU | | + | | EN Revival Token Tryouts = Revival Token Tryouts (EN server)#Birthday Revival Tryouts|{{{enname}}} |
+ | | Campaign = {{{name}}}|{{{name}}} }}]] }} | ||
+ | {{#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}}} | ||
+ | | EN Revival Token Tryouts = Revival Token Tryouts (EN server)#Birthday Revival Tryouts|{{{enname}}} }}]] }} | ||
+ | |||
+ | <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> }} | ||
+ | | PDT to PDT = {{#ifexpr: {{#time: xNU | {{{startdate}}} }} < {{#time: xNU |-7 hours}} | {{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 -0700</span>'''.</span>|}} | <span data-end="stop" class="countdown" style="display:none;">Starts in '''<span class="countdowndate" style="color:#c00">{{{startdate|}}}:59 -0700</span>'''.</span> }} | ||
+ | | PST to PDT = {{#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 -0700</span>'''.</span>|}} | <span data-end="stop" class="countdown" style="display:none;">Starts in '''<span class="countdowndate" style="color:#c00">{{{startdate|}}}:59 -0800</span>'''.</span> }} | ||
+ | | PDT to PST = {{#ifexpr: {{#time: xNU | {{{startdate}}} }} < {{#time: xNU |-7 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 -0700</span>'''.</span> }} | ||
+ | | <!--JST default-->{{#ifexpr: {{#time: xNU | {{{startdate}}} }} < {{#time: xNU |+9 hours}} | {{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 +0900</span>'''.</span>|}} | <span data-end="stop" class="countdown" style="display:none;">Starts in '''<span class="countdowndate" style="color:#c00">{{{startdate|}}}:59 +0900</span>'''.</span> }} | ||
+ | }} |}}</p> | ||
</div> | </div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 28: | Line 55: | ||
<pre> | <pre> | ||
{{Home/Module | {{Home/Module | ||
− | |type=Premium Scout, Limited Scout, Rerelease Scout, Event, EN Event, EN Tryout, EN Premium Tryouts | + | |type=Premium Scout, Limited Scout, Rerelease Scout, Event, EN Event, EN Tryout, EN Premium Tryouts, EN Revival Tryouts, EN Revival Token Tryouts, Campaign |
|year=(optional) | |year=(optional) | ||
− | |character= | + | |character= |troupe= |
− | |troupe= | ||
|name= | |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= | |multi= | ||
|banner=(optional) | |banner=(optional) | ||
− | | | + | |banner2=only for 2nd banner |
− | |||
}} | }} | ||
</pre> | </pre> | ||
Line 48: | Line 76: | ||
<div class="flex-container" style="width: 100%; max-width: 90em; margin: auto;"> | <div class="flex-container" style="width: 100%; max-width: 90em; margin: auto;"> | ||
− | {{Home/Module|type= | + | {{Home/Module|type=Event|character=azuma|name=Nocturnality|startdate=|enddate=|timezone=}} |
− | {{Home/Module|type=Event | + | {{Home/Module|type=Limited Scout|character=azami|name=The Wonderful Charlatan of Oz (First Half)|startdate=Apr 2 2021 16:00|enddate=Apr 4 2021 23:59}} |
− | {{Home/Module|type= | + | {{Home/Module|type=Premium Scout|character=azuma|name=MARCH BIRTHDAY SP|startdate=|enddate=}} |
− | {{Home/Module|type= | + | {{Home/Module|type=Rerelease Scout|year=2019|character=summer|name=2nd Anniversary Season Scout MIX Edition Vol. 2|startdate={{#time: j F Y H:i|+9 hours}}|enddate=30 May 2018 00:00|banner=2nd Anniversary Season Scout MIX Edition Vol. 2 gacha.png}} |
− | {{Home/Module|type=EN | + | {{Home/Module|type=EN Event|character=itaru|enname=Knights of the Round IV On Stage|startdate=Mar 29 2021 20:00|enddate=Apr 8 2021 00:00|timezone=PDT to PDT}} |
− | {{Home/Module|type= | + | {{Home/Module|type=EN Tryout|character=azuma|enname=Chimes in the Summer Wind|startdate=Mar 29 2021 20:00|enddate=Apr 8 2021 00:00|timezone=PST to PST}} |
− | {{Home/Module|type=EN Premium Tryouts|troupe= | + | {{Home/Module|type=EN Revival Tryouts|year=2020|character=itaru|enname=MAD Tea Party|startdate=Sep 15 2020 11:00|enddate=Sept 17 2020 10:59|banner=}} |
+ | {{Home/Module|type=EN Revival Token Tryouts|character=summer|enname=Summer Birthday|startdate=Apr 12 2021 20:00|enddate=Apr 29 2021 18:59|timezone=PDT to PDT|banner=}} | ||
+ | {{Home/Module|type=Premium Scout|character=spring|name=APRIL BIRTHDAY SP 2021|startdate=|enddate=|banner2=APRIL BIRTHDAY SP 2021 Part 2}} | ||
+ | {{Home/Module|type=EN Premium Tryouts|troupe=spring|name=APRIL BIRTHDAY SP|enname=APRIL BIRTHDAY Part 1|startdate=6 Apr 2021 19:00|enddate=1 May 2021 18:59|timezone=PDT to PDT|banner2=APRIL BIRTHDAY Part 2}} | ||
+ | {{Home/Module|type=Campaign|name=Main Story ACT3! 2/2 Preparation Campaign|troupe=mankai|banner=Main Story ACT3! 2-2 Preparation Campaign banner.png|startdate=May 14 2021 16:00|enddate=}} | ||
</div> | </div> | ||
− | {{#time: j F Y H:i|+9 hours}} | + | JST +9: {{#time: j F Y H:i|+9 hours}}<br> |
+ | PST -8: {{#time: j F Y H:i|-8 hours}}<br> | ||
+ | PDT -7: {{#time: j F Y H:i|-7 hours}}<br> | ||
<span class="countdowndate" style="color:#c00">April 1 2018 00:00:59 +0900</span> | <span class="countdowndate" style="color:#c00">April 1 2018 00:00:59 +0900</span> | ||
</noinclude> | </noinclude> |
Latest revision as of 12:06, 8 October 2022
Contents
{{Home/Module |type=Premium Scout, Limited Scout, Rerelease Scout, Event, EN Event, EN Tryout, EN Premium Tryouts, EN Revival Tryouts, EN Revival Token Tryouts, Campaign |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: 22 November 2024 16:43
PST -8: 21 November 2024 23:43
PDT -7: 22 November 2024 00:43
April 1 2018 00:00:59 +0900