Difference between revisions of "Template:Home/Module"

From A3! Wiki
m
m
Line 1: Line 1:
 
<includeonly><div class="list" style="text-align:center; border: 5px solid {{#if: {{{character|}}} | var(--{{{character}}}) | }} {{#if: {{{troupe|}}} | var(--{{{troupe}}}) | }}">
 
<includeonly><div class="list" style="text-align:center; border: 5px solid {{#if: {{{character|}}} | var(--{{{character}}}) | }} {{#if: {{{troupe|}}} | var(--{{{troupe}}}) | }}">
 
<h5>{{{type|}}}</h5>
 
<h5>{{{type|}}}</h5>
<p style="font-weight: bold; font-size: 1.2em;">{{#switch: {{{type|}}} | Limited Scout | Premium Scout = [[Scouting Events#{{{name}}}|{{{name}}}]] | Event = [[Events#{{{name}}}|{{{name}}}]] | }}</p>
+
<p style="font-weight: bold; font-size: 1.2em;">{{#switch: {{{type|}}} | Rerelease Scout | Limited Scout | Premium Scout = [[Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | Event = [[Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | }}</p>
[[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}} | Limited Scout | Premium Scout = {{{name}}} gacha.png | Event = {{{name}}} event banner.png }} }}|x225px|link={{#switch: {{{type|}}} | Limited Scout | Premium Scout = Scouting Events#{{{name}}}|{{{name}}} | Event = Events#{{{name}}}|{{{name}}} }}]]
+
[[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}} | Rerelease Scout | Limited Scout | Premium Scout = {{{name}}} gacha.png | Event = {{{name}}} event banner.png }} }}|x225px|link={{#switch: {{{type|}}} | Rerelease Scout | Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} | Event = Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} }}]]
 
<p>{{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 +0900</span>'''.</span>|}} {{#if: {{{startdate|}}}|<span data-end="stop" class="countdown" style="display:none;">Starts in '''<span class="countdowndate" style="color:#c00">{{{startdate|}}}:59 +0900</span>'''.</span>|}}</p>
 
<p>{{#if: {{{enddate|}}}|<span data-end="stop" class="countdown" style="display:none;">Ends in '''<span class="countdowndate" style="color:#c00">{{{enddate|}}}:59 +0900</span>'''.</span>|}} {{#if: {{{startdate|}}}|<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>
Line 10: Line 10:
 
<pre>
 
<pre>
 
{{Home/Module
 
{{Home/Module
|type=
+
|type=Premium Scout, Limited Scout, Rerelease Scout, Event
 +
|year=(optional)
 
|character=
 
|character=
 
|troupe=
 
|troupe=
Line 29: Line 30:
 
<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=Premium Scout|character=azuma|troupe=|name=Test|banner=APRIL BIRTHDAY SP Part 2 gacha.png|startdate=|enddate=}}
 
{{Home/Module|type=Premium Scout|character=azuma|troupe=|name=Test|banner=APRIL BIRTHDAY SP Part 2 gacha.png|startdate=|enddate=}}
{{Home/Module|type=Event|character=|troupe=winter|name=Nocturnality|startdate=|enddate=}}
+
{{Home/Module|type=Event|year=2017|character=|troupe=winter|name=Nocturnality|startdate=|enddate=}}
 
{{Home/Module|type=Limited Scout|character=azami|troupe=|name=The Wonderful Charlatan of Oz (First Half)|startdate=|enddate=}}
 
{{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|troupe=|name=MARCH BIRTHDAY SP|startdate=|enddate=}}
 
{{Home/Module|type=Premium Scout|character=azuma|troupe=|name=MARCH BIRTHDAY SP|startdate=|enddate=}}

Revision as of 11:43, 17 April 2018

{{Home/Module
|type=Premium Scout, Limited Scout, Rerelease Scout, Event
|year=(optional)
|character=
|troupe=
|name=
|banner=(optional)
|startdate=
|enddate=
}}


Premium Scout

Test

APRIL BIRTHDAY SP Part 2 gacha.png

Event

Nocturnality

Nocturnality event banner.png

Premium Scout

MARCH BIRTHDAY SP

MARCH BIRTHDAY SP gacha.png