Difference between revisions of "Template:Home/Module"
From A3! Wiki
m |
m (test formatting) |
||
Line 1: | Line 1: | ||
− | <includeonly><div class="list" style="text-align:center; border: | + | <includeonly><div class="list" style="text-align:center; "> |
+ | <div style="display: inline-block; border-top: 6px 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}}}]] | Event = [[Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | {{{name}}} }}</p> | <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}}}]] | Event = [[Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}}]] | {{{name}}} }}</p> | ||
+ | </div> | ||
{{#ifeq: {{{multi|}}} | y | {{{banner|}}} | [[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}} | Rerelease | 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}}} | Event = Events{{#if:{{{year|}}}|/{{{year}}}|}}#{{{name}}}|{{{name}}} }}]] }} | {{#ifeq: {{{multi|}}} | y | {{{banner|}}} | [[File:{{#if: {{{banner|}}} | {{{banner|}}} | {{#switch: {{{type|}}} | Rerelease | 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}}} | 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> | ||
Line 30: | Line 32: | ||
<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= | + | {{Home/Module|type=Event|character=|troupe=misumi|name=the moon and the rabbit|startdate=Sep 5 2018 16:00|enddate=Sep 13 2018 13:59}} |
− | {{Home/Module|type= | + | {{Home/Module|type=Limited Scout|troupe=citron|name=Messenger of the Moon|banner=|startdate=Sep 3 2018 00:00|enddate=Sep 13 2018 13:59}} |
− | {{Home/Module|type= | + | {{Home/Module|type=Premium Scout|troupe=autumn|name=SEPTEMBER BIRTHDAY SP 2018|banner=|enddate=Sep 30 2018 23:59}} |
− | {{Home/Module|type= | + | {{Home/Module|type=Medal Scout|troupe=mankai|name=TVCM RT Campaign Scout|banner=|enddate=Sep 21 2018 23:59|multi=y}} |
</div> | </div> | ||
Revision as of 13:28, 2 September 2018
{{Home/Module |type=Premium Scout, Limited Scout, Rerelease Scout, Event |year=(optional) |character= |troupe= |name= |multi= |banner=(optional) |startdate= |enddate= }}
Medal Scout
TVCM RT Campaign Scout
26 November 2024 02:19 April 1 2018 00:00:59 +0900