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|}}} | Rerelease Scout = [[Scouting#Past Rerelease Scouts|{{{name}}}]] | Limited Scout | Premium Scout = [[Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | Rerelease Event | Event = [[{{{name}}}]] | {{{name}}} }}</p>
+
<p style="font-weight: bold; font-size: 1.2em;">{{#switch: {{{type|}}}  
{{#ifeq: {{{multi|}}} | y | {{{banner|}}} | [[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}} | Rerelease Event | Limited Scout | Premium Scout = {{{name}}} gacha.png | Event = {{{name}}} event banner.png }} }}|x225px|link={{#switch: {{{type|}}} | Rerelease Scout = Scouting#Past Rerelease Scouts|{{{name}}}]] | Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} | Rerelease Event | Event = Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} }}]] }}
+
| Rerelease Scout = [[Scouting#Past Rerelease Scouts|{{{name}}}]]  
 +
| Limited Scout | Premium Scout = [[Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]]  
 +
| Rerelease Event | Event = [[{{{name}}}]] | {{{name}}} }}</p>
 +
{{#ifeq: {{{multi|}}} | y | {{{banner|}}}  
 +
| [[File:{{#if: {{{banner|}}} | {{{banner|}}}  
 +
| {{#switch: {{{type|}}}  
 +
| Rerelease Event = 2018-12 event banner.png
 +
| Rerelease Scout | Limited Scout | Premium Scout = {{{name}}} gacha.png  
 +
| Event = {{{name}}} event banner.png }} }}|x225px|link={{#switch: {{{type|}}}  
 +
| Rerelease Scout = Scouting#Past Rerelease Scouts|{{{name}}}]]  
 +
| Limited Scout | Premium Scout = Scouting Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}  
 +
| Rerelease Event | Event = Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{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>
 
<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>
 
</div>
 
</div>

Revision as of 08:36, 5 June 2019

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


Rerelease 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

23 November 2024 03:00 April 1 2018 00:00:59 +0900