Difference between revisions of "Template:Home/Module"

From A3! Wiki
m
 
(23 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 = [[Scouting#Past Rerelease Scouts|{{{name}}}]]  
+
| 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}}}]]
+
| 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  
| Rerelease Scout | Limited Scout | Premium Scout = {{{name}}} gacha.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
| Event = {{{name}}} event banner.png }} }}|x225px|link={{#switch: {{{type|}}}  
+
| EN Revival Tryouts = {{{enname}}} (Revival) EN gacha.png
| Rerelease Scout = Scouting#Past Rerelease Scouts|{{{name}}}]]
+
| EN Revival Token Tryouts = {{{enname}}} (Token Revival) EN gacha.png }} }}|x225px|link={{#switch: {{{type|}}}  
| EN Event = [[{{{enname}}}]] | {{{enname}}}
+
| Event = {{{name}}}|{{{name}}}
| EN Tryout | EN Premium Tryouts = EN Tryout List{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}  
+
| Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}
| Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} }}]] }}
+
| Rerelease Scout = Rerelease Scouts#{{{year}}}|{{{name}}}  
<p>{{#if: {{{startdate|}}}|{{#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> }} |{{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 +0900</span>'''.</span>|}} }}</p>
+
| EN Event = {{{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 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|}}}
 +
| 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)
|startdate=
+
|banner2=only for 2nd banner
|enddate=
 
 
}}
 
}}
 
</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=Rerelease Scout|character=azuma|troupe=|name=Test|banner=APRIL BIRTHDAY SP Part 2 gacha.png|startdate={{#time: j F Y H:i|+9 hours}}|enddate=30 May 2018 00:00}}
+
{{Home/Module|type=Event|character=azuma|name=Nocturnality|startdate=|enddate=|timezone=}}
{{Home/Module|type=Event|year=2017|character=|troupe=winter|name=Nocturnality|startdate=|enddate=}}
+
{{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=Limited Scout|character=azami|troupe=|name=The Wonderful Charlatan of Oz (First Half)|startdate=|enddate=}}
+
{{Home/Module|type=Premium Scout|character=azuma|name=MARCH BIRTHDAY SP|startdate=|enddate=}}
{{Home/Module|type=Premium Scout|character=azuma|troupe=|name=MARCH BIRTHDAY SP|startdate=|enddate=}}
+
{{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 Event|character=tenma|troupe=|enname=Sparkling Summer Memories|startdate=Apr 6 2020 14:00|enddate=Apr 15 2020 15:59}}
+
{{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|troupe=|enname=Chimes in the Summer Wind|startdate=Apr 3 2020 11:00|enddate=Apr 17 2020 10:59}}
+
{{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 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

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