Difference between revisions of "Template:Home/Module"

From A3! Wiki
m (setting startdate-#if to "TBA" defied the "countdown(date)" class, so I'm setting it to just be empty if {{{startdate}}} empty)
 
(15 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
| 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}}}]] }}
+
| 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>
 
</p>
  
 
{{#ifeq: {{{multi|}}} | y | {{{banner|}}}  
 
{{#ifeq: {{{multi|}}} | y | {{{banner|}}}  
 
| [[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}}  
 
| [[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}}  
| Event = {{{name}}} event banner.png
+
| 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
 
| Limited Scout | Premium Scout = {{{name}}} gacha.png
Line 19: Line 21:
 
| 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 }} }}|x225px|link={{#switch: {{{type|}}}  
+
| 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}}}  
 
| Rerelease Scout = Rerelease Scouts#{{{year}}}|{{{name}}}  
 +
| 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 Event = {{{enname}}}|{{{enname}}}
 
 
| 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}}} }}]] }}
+
| EN Revival Token Tryouts = Revival Token Tryouts (EN server)#Birthday Revival Tryouts|{{{enname}}}
 +
| Campaign = {{{name}}}|{{{name}}} }}]] }}
 +
{{#if: {{{banner2|}}} | [[File:{{{banner2|}}}{{#switch: {{{type|}}}
 +
| Premium Scout = &nbsp;gacha.png
 +
| Rerelease Scout = &nbsp;(Rerelease) gacha.png
 +
| EN Premium Tryouts = &nbsp;EN gacha.png
 +
| EN Revival Tryouts = &nbsp;(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|}}}
 
<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> }}
Line 38: Line 55:
 
<pre>
 
<pre>
 
{{Home/Module
 
{{Home/Module
|type=Premium Scout, Limited Scout, Rerelease Scout, Event, EN Event, EN Tryout, EN Premium Tryouts, EN Revival 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= |troupe=
 
|character= |troupe=
Line 44: Line 61:
 
|startdate=JST for JP server; Pacific Time for EN server
 
|startdate=JST for JP server; Pacific Time for EN server
 
|enddate=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
+
|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 64: Line 82:
 
{{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=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=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 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=summer|name=JUNE BIRTHDAY SP|enname=JUNE BIRTHDAY|startdate=June 2 2020 11:00|enddate=July 2 2020 10:59|banner=}}
 
 
{{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 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>
  

Latest revision as of 12:06, 8 October 2022

{{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
}}


Event

Nocturnality

Nocturnality event banner.png


Limited Scout

The Wonderful Charlatan of Oz (First Half)

The Wonderful Charlatan of Oz (First Half) gacha.png


Premium Scout

MARCH BIRTHDAY SP

MARCH BIRTHDAY SP gacha.png


Rerelease Scout

2nd Anniversary Season Scout MIX Edition Vol. 2

2nd Anniversary Season Scout MIX Edition Vol. 2 gacha.png


EN Event

Knights of the Round IV On Stage

Knights of the Round IV On Stage EN event banner.png


EN Tryout

Chimes in the Summer Wind

Chimes in the Summer Wind EN gacha.png


EN Revival Tryouts

MAD Tea Party

MAD Tea Party (Revival) EN gacha.png


EN Revival Token Tryouts

Summer Birthday

Summer Birthday (Token Revival) EN gacha.png


Premium Scout

APRIL BIRTHDAY SP 2021

APRIL BIRTHDAY SP 2021 gacha.png APRIL BIRTHDAY SP 2021 Part 2 gacha.png

EN Premium Tryouts

APRIL BIRTHDAY Part 1

APRIL BIRTHDAY Part 1 EN gacha.png APRIL BIRTHDAY Part 2 EN gacha.png

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