Difference between revisions of "Template:Home/Module"
From A3! Wiki
m |
m |
||
Line 3: | Line 3: | ||
<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> | <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|}}} | 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}}} }}]] | [[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: {{{startdate|}}}|<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 |now}} | | <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> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 34: | Line 34: | ||
{{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=}} | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | <span class="countdowndate" style="color:#c00">April 1 2018 00:00:59 +0900</span> | ||
</noinclude> | </noinclude> |
Revision as of 13:41, 23 April 2018
{{Home/Module |type=Premium Scout, Limited Scout, Rerelease Scout, Event |year=(optional) |character= |troupe= |name= |banner=(optional) |startdate= |enddate= }}
April 1 2018 00:00:59 +0900