Difference between revisions of "Template:mainpage"
Pianoforte (talk | contribs) |
Pianoforte (talk | contribs) |
||
Line 3: | Line 3: | ||
<div class="mainpage"> | <div class="mainpage"> | ||
<div class="leftcol"> | <div class="leftcol"> | ||
− | + | <div id="banner-blank" class="jcarousel-item banners" style="max-width:800px;max-height:198px;width:auto;height:auto; border: rgb(150,150,150);border-width: 0.25em;border-style: solid;box-shadow: 0px 0px 10px #000">[[image:BANNER_Blank.png]]</div> | |
− | {{#if:{{{ | + | {{Slider|id=banner-cn|class=banners|list= |
− | {{#if:{{{ | + | {{#if:{{{CN_banner1_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner1_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner1_caption|}}}}}</div>}} |
− | {{#if:{{{ | + | {{#if:{{{CN_banner2_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner2_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner2_caption|}}}}}</div>}} |
− | {{#if:{{{ | + | {{#if:{{{CN_banner3_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner3_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner3_caption|}}}}}</div>}} |
− | {{#if:{{{ | + | {{#if:{{{CN_banner4_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner4_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner4_caption|}}}}}</div>}} |
− | {{#if:{{{ | + | {{#if:{{{CN_banner5_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner5_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner5_caption|}}}}}</div>}} |
− | {{#if:{{{ | + | {{#if:{{{CN_banner6_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner6_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner6_caption|}}}}}</div>}} |
− | {{#if:{{{ | + | {{#if:{{{CN_banner7_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner7_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner7_caption|}}}}}</div>}} |
+ | {{#if:{{{CN_banner8_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_banner8_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{CN_banner8_caption|}}}}}</div>}} | ||
+ | }} | ||
+ | {{Slider|id=banner-kr|class=banners|list= | ||
+ | {{#if:{{{KR_banner1_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner1_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner2_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner2_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner3_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner3_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner4_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner4_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner5_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner5_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner6_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner6_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner7_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner7_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_banner8_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_banner8_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{KR_banner8_caption|}}}}}</div>}} | ||
+ | }} | ||
+ | {{Slider|id=banner-tw|class=banners|list= | ||
+ | {{#if:{{{TW_banner1_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner1_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner2_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner2_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner3_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner3_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner4_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner4_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner5_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner5_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner6_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner6_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner7_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner7_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_banner8_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_banner8_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{TW_banner8_caption|}}}}}</div>}} | ||
+ | }} | ||
+ | {{Slider|id=banner-jp|class=banners|list= | ||
+ | {{#if:{{{JP_banner1_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner1_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner2_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner2_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner3_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner3_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner4_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner4_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner5_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner5_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner6_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner6_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner7_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner7_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_banner8_image|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_banner8_image|}}}}}">[[image:BANNER_Blank.png|link=]]{{OverlayCaption|125%|{{{JP_banner8_caption|}}}}}</div>}} | ||
}} | }} | ||
<div id="mainmenu"> | <div id="mainmenu"> | ||
Line 80: | Line 111: | ||
<div class="rightcol"> | <div class="rightcol"> | ||
<div id="timerwidgets" style="max-width:395px;float:left;height:auto"> | <div id="timerwidgets" style="max-width:395px;float:left;height:auto"> | ||
− | <div id= | + | <div id="update-blank" class="updates {{#if:{{{CN_maintenanceStart_time|}}}|button-glow}}" style="display:block">[[file:Blank.png|link=|395x395px]]</div> |
− | + | <div id="update-cn" class="updates {{#if:{{{CN_maintenanceStart_time|}}}|button-glow}}"> | |
− | {{OverlayCaption|100%|{{CountDown|maintenanceEnd|{{{ | + | {{OverlayCaption|100%|{{#if:{{{CN_maintenanceStart_time|}}}|{{CountDown|maintenanceStart|{{{CN_maintenanceStart_time|}}} +0800|<br>until [[{{{CN_maintenanceStart_link|}}}|the next maintenance]]|<br>since [[{{{CN_maintenanceStart_link|}}}|the maintenance began]]}}|Time until the next maintenance:<BR>TBA}}}} |
− | + | {{OverlayCaption|100%|{{CountDown|maintenanceEnd|{{{CN_maintenanceEnd_time|}}} +0800|<br>until [[{{{CN_maintenanceEnd_link|}}}|the end of maintenance]]|<br>since [[{{{CN_maintenanceEnd_link|}}}|the last maintenance]]}}|top}}[[file:Blank.png|link={{{CN_maintenance1_link|}}}|395x395px]]</div> | |
− | {{#if:{{{ | + | <div id="update-kr" class="updates {{#if:{{{KR_maintenanceStart_time|}}}|button-glow}}"> |
− | {{ | + | {{OverlayCaption|100%|{{#if:{{{KR_maintenanceStart_time|}}}|{{CountDown|maintenanceStart|{{{KR_maintenanceStart_time|}}} +0800|<br>until [[{{{KR_maintenanceStart_link|}}}|the next maintenance]]|<br>since [[{{{KR_maintenanceStart_link|}}}|the maintenance began]]}}|Time until the next maintenance:<BR>TBA}}}} |
− | {{#if:{{{ | + | {{OverlayCaption|100%|{{CountDown|maintenanceEnd|{{{KR_maintenanceEnd_time|}}} +0800|<br>until [[{{{KR_maintenanceEnd_link|}}}|the end of maintenance]]|<br>since [[{{{KR_maintenanceEnd_link|}}}|the last maintenance]]}}|top}}[[file:Blank.png|link={{{KR_maintenance1_link|}}}|395x395px]]</div> |
− | {{ | + | <div id="update-tw" class="updates {{#if:{{{TW_maintenanceStart_time|}}}|button-glow}}"> |
− | {{#if:{{{ | + | {{OverlayCaption|100%|{{#if:{{{TW_maintenanceStart_time|}}}|{{CountDown|maintenanceStart|{{{TW_maintenanceStart_time|}}} +0800|<br>until [[{{{TW_maintenanceStart_link|}}}|the next maintenance]]|<br>since [[{{{TW_maintenanceStart_link|}}}|the maintenance began]]}}|Time until the next maintenance:<BR>TBA}}}} |
− | + | {{OverlayCaption|100%|{{CountDown|maintenanceEnd|{{{TW_maintenanceEnd_time|}}} +0800|<br>until [[{{{TW_maintenanceEnd_link|}}}|the end of maintenance]]|<br>since [[{{{TW_maintenanceEnd_link|}}}|the last maintenance]]}}|top}}[[file:Blank.png|link={{{TW_maintenance1_link|}}}|395x395px]]</div> | |
− | + | <div id="update-jp" class="updates {{#if:{{{JP_maintenanceStart_time|}}}|button-glow}}"> | |
− | + | {{OverlayCaption|100%|{{#if:{{{JP_maintenanceStart_time|}}}|{{CountDown|maintenanceStart|{{{JP_maintenanceStart_time|}}} +0800|<br>until [[{{{JP_maintenanceStart_link|}}}|the next maintenance]]|<br>since [[{{{JP_maintenanceStart_link|}}}|the maintenance began]]}}|Time until the next maintenance:<BR>TBA}}}} | |
+ | {{OverlayCaption|100%|{{CountDown|maintenanceEnd|{{{JP_maintenanceEnd_time|}}} +0800|<br>until [[{{{JP_maintenanceEnd_link|}}}|the end of maintenance]]|<br>since [[{{{JP_maintenanceEnd_link|}}}|the last maintenance]]}}|top}}[[file:Blank.png|link={{{JP_maintenance1_link|}}}|395x395px]]</div> | ||
+ | <div id="prmotion-blank" class="jcarousel-item promotions" style="visibility:visible;position:inherit">[[File:Promotion_timer.png|20px|left|link=]][[file:Promotion_Blank.png|395px]]</div> | ||
+ | {{PromotionSlider|id=promotion-cn|noarrow=1|list= | ||
+ | {{#if:{{{CN_promotion1_image|}}}{{{CN_promotion1_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion1_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion1|{{{CN_promotion1_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion2_image|}}}{{{CN_promotion2_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion2_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion2|{{{CN_promotion2_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion3_image|}}}{{{CN_promotion3_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion3_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion3|{{{CN_promotion3_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion4_image|}}}{{{CN_promotion4_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion4_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion4|{{{CN_promotion4_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion5_image|}}}{{{CN_promotion5_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion5_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion5|{{{CN_promotion5_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion6_image|}}}{{{CN_promotion6_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion6_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion6|{{{CN_promotion6_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion7_image|}}}{{{CN_promotion7_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion7_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion7|{{{CN_promotion7_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{CN_promotion8_image|}}}{{{CN_promotion8_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{CN_promotion8_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|CN_promotion8|{{{CN_promotion8_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{CN_promotion8_caption|}}}}}</div>}} | ||
+ | }} | ||
+ | {{PromotionSlider|id=promotion-kr|noarrow=1|list= | ||
+ | {{#if:{{{KR_promotion1_image|}}}{{{KR_promotion1_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion1_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion1|{{{KR_promotion1_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion2_image|}}}{{{KR_promotion2_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion2_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion2|{{{KR_promotion2_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion3_image|}}}{{{KR_promotion3_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion3_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion3|{{{KR_promotion3_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion4_image|}}}{{{KR_promotion4_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion4_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion4|{{{KR_promotion4_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion5_image|}}}{{{KR_promotion5_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion5_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion5|{{{KR_promotion5_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion6_image|}}}{{{KR_promotion6_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion6_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion6|{{{KR_promotion6_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion7_image|}}}{{{KR_promotion7_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion7_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion7|{{{KR_promotion7_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{KR_promotion8_image|}}}{{{KR_promotion8_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{KR_promotion8_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion8|{{{KR_promotion8_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{KR_promotion8_caption|}}}}}</div>}} | ||
+ | }} | ||
+ | {{PromotionSlider|id=promotion-tw|noarrow=1|list= | ||
+ | {{#if:{{{TW_promotion1_image|}}}{{{TW_promotion1_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion1_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion1|{{{TW_promotion1_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion2_image|}}}{{{TW_promotion2_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion2_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion2|{{{TW_promotion2_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion3_image|}}}{{{TW_promotion3_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion3_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion3|{{{TW_promotion3_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion4_image|}}}{{{TW_promotion4_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion4_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion4|{{{TW_promotion4_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion5_image|}}}{{{TW_promotion5_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion5_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion5|{{{TW_promotion5_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion6_image|}}}{{{TW_promotion6_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion6_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion6|{{{TW_promotion6_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion7_image|}}}{{{TW_promotion7_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion7_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion7|{{{TW_promotion7_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{TW_promotion8_image|}}}{{{TW_promotion8_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{TW_promotion8_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion8|{{{TW_promotion8_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{TW_promotion8_caption|}}}}}</div>}} | ||
+ | }} | ||
+ | {{PromotionSlider|id=promotion-jp|noarrow=1|list= | ||
+ | {{#if:{{{JP_promotion1_image|}}}{{{JP_promotion1_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion1_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion1|{{{JP_promotion1_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion1_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion2_image|}}}{{{JP_promotion2_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion2_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion2|{{{JP_promotion2_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion2_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion3_image|}}}{{{JP_promotion3_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion3_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion3|{{{JP_promotion3_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion3_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion4_image|}}}{{{JP_promotion4_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion4_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion4|{{{JP_promotion4_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion4_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion5_image|}}}{{{JP_promotion5_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion5_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion5|{{{JP_promotion5_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion5_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion6_image|}}}{{{JP_promotion6_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion6_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion6|{{{JP_promotion6_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion6_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion7_image|}}}{{{JP_promotion7_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion7_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion7|{{{JP_promotion7_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion7_caption|}}}}}</div>}} | ||
+ | {{#if:{{{JP_promotion8_image|}}}{{{JP_promotion8_time|}}}|<div class="jcarousel-item" data-value="{{filepath:{{{JP_promotion8_image|}}}}}">[[File:Promotion_timer.png|20px|left|link=]]{{CountDown|KR_promotion8|{{{JP_promotion8_time|}}} +0800|remaining|past}}[[file:Promotion_Blank.png|395px]]{{OverlayCaption|100%|{{{JP_promotion8_caption|}}}}}</div>}} | ||
}} | }} | ||
</div> | </div> | ||
Line 103: | Line 175: | ||
This wiki provides detailed information and tutorials in English for players that cannot read Chinese. | This wiki provides detailed information and tutorials in English for players that cannot read Chinese. | ||
</div> | </div> | ||
+ | {{#Widget:mainpage}} | ||
</includeonly> | </includeonly> | ||
<noinclude>{{Documentation}} | <noinclude>{{Documentation}} | ||
Line 108: | Line 181: | ||
==Example== | ==Example== | ||
− | {{Template:mainpage | + | {{Template:mainpage/Sandbox |
+ | |||
+ | <!-- CN Server --> | ||
+ | |||
+ | |CN_banner1_image = BANNER 2017 DEC 21_A.jpg | ||
+ | |CN_banner1_caption = Operation Gingerbread Men Collecting duration from after maintenance 21st of December 2017 till after maintenance 11th of January 2018 [[Events/2017/December#Operation Gingerbread Men Collecting|Operation Gingerbread Men Collecting]] | ||
+ | |||
+ | |CN_banner2_image = BANNER 2017 DEC 21.jpg | ||
+ | |CN_banner2_caption = Operation Gingerbread Men Collecting duration from after maintenance 21st of December 2017 till after maintenance 11th of January 2018 [[Events/2017/December#Operation Gingerbread Men Collecting|Operation Gingerbread Men Collecting]] | ||
+ | |||
+ | |CN_maintenanceEnd_time = 2018 JANUARY 11 14:00 | ||
+ | |CN_maintenanceEnd_link = Updates/2018/January#January 4th | ||
+ | |CN_maintenanceStart_time = 2018 JANUARY 11 10:00 | ||
+ | |CN_maintenanceStart_link = Updates/2018/January#January_11th | ||
+ | |||
+ | |CN_promotion1_time = 2018 JAN 11 23:59 | ||
+ | |CN_promotion1_image = Promotion_2017_DEC_21_A.jpg | ||
+ | |CN_promotion1_caption = [[Events/2017/December#Operation Gingerbread Men Collecting|Operation Gingerbread Men Collecting]], fight normal chapter bosses for Gingerbread men! | ||
+ | |||
+ | |CN_promotion2_time = 2018 JAN 31 23:59 | ||
+ | |CN_promotion2_image = Promotion 2018 JAN 1.jpg | ||
+ | |CN_promotion2_caption = [[Events/2018/January#Daily Discount Package|Daily Discount Package]] available (limited to 1 purchase per day). | ||
+ | |||
+ | <!-- KR Server --> | ||
+ | |||
+ | |KR_banner1_image = BANNER 2017 JUL 28.jpg | ||
+ | |KR_banner1_caption = [[Events/2017/July#Operation Deep Dive|Operation Deep Dive]] from July 27<sup>nd</sup> 0:00 ~ Aug 26<sup>th</sup> 23:59. | ||
+ | |||
+ | |KR_banner2_image = BANNER_JULY_27_Fairy.jpg | ||
+ | |KR_banner2_caption = Tactical fairy system is now online. | ||
− | | | + | |KR_banner3_image = BANNER 2017 JULY 27 Kalina 2D.jpg |
− | | | + | |KR_banner3_caption = Live2D for Kalina is now online. |
+ | |KR_maintenanceEnd_time = 2017 JULY 20 14:00 | ||
+ | |KR_maintenanceEnd_link = Updates/2017/July#July 20th | ||
− | | | + | |KR_maintenanceStart_time = 2017 AUGUST 3 10:00 |
− | + | |KR_maintenanceStart_link = Updates/2017/August#August 3rd | |
− | |||
− | | | ||
+ | |KR_promotion1_time = 2017 JULY 27 10:59 | ||
+ | |KR_promotion1_image = PROMOTION_2017_JULY_14.jpg | ||
+ | |KR_promotion1_caption = [[Updates/2017/July#July 13th|Girls & the Sea]] Procurement event now in progress. | ||
− | | | + | |KR_promotion2_time = 2017 JULY 26 23:59 |
− | | | + | |KR_promotion2_image = PROMOTION_2017_JULY_14_1.jpg |
− | | | + | |KR_promotion2_caption = [[Updates/2017/July#July 13th|New costume packages]] now available. |
− | | | + | |KR_promotion3_time = 2017 JULY 21 23:59 |
− | | | + | |KR_promotion3_image = Promotion_2017_JULY_2.jpg |
− | | | + | |KR_promotion3_caption = [[Events/2017/July#Summer Carnival Special Operation|Summer Carnival Special Operation]] from July 1<sup>st</sup> 0:00 ~ July 21<sup>st</sup> 23:59 |
+ | |KR_promotion4_time = 2017 JULY 31 23:59 | ||
+ | |KR_promotion4_image = Promotion_2017_JULY_1.jpg | ||
+ | |KR_promotion4_caption = [[Events/2017/July#Daily Discount Package|Daily Discount Package]] available in the cash shop (limited to 1 per day). | ||
}} | }} | ||
− | |||
</noinclude> | </noinclude> |
Revision as of 12:28, 12 January 2018
This template is used to update the main page here: Girls'_Frontline_Wiki
Usage
Please remove the parameters that are left blank.
{{Template:mainpage |CN_banner1_image = |CN_banner1_caption = |EN_banner1_image = |EN_banner1_caption = |KR_banner1_image = |KR_banner1_caption = |TW_banner1_image = |TW_banner1_caption = |JP_banner1_image = |JP_banner1_caption = |CN_maintenanceEnd_time = |CN_maintenanceEnd_link = |CN_maintenanceStart_time = |CN_maintenanceStart_link = |EN_maintenanceEnd_time = |EN_maintenanceEnd_link = |EN_maintenanceStart_time = |EN_maintenanceStart_link = |KR_maintenanceEnd_time = |KR_maintenanceEnd_link = |KR_maintenanceStart_time = |KR_maintenanceStart_link = |TW_maintenanceEnd_time = |TW_maintenanceEnd_link = |TW_maintenanceStart_time = |TW_maintenanceStart_link = |JP_maintenanceEnd_time = |JP_maintenanceEnd_link = |JP_maintenanceStart_time = |JP_maintenanceStart_link = |CN_promotion1_time = |CN_promotion1_image = |CN_promotion1_caption = |EN_promotion1_time = |EN_promotion1_image = |EN_promotion1_caption = |KR_promotion1_time = |KR_promotion1_image = |KR_promotion1_caption = |TW_promotion1_time = |TW_promotion1_image = |TW_promotion1_caption = |JP_promotion1_time = |JP_promotion1_image = |JP_promotion1_caption = }}
Parameter list
Event Banners (from the in-game event page)
REGION_banner1~n_image
— For each slide, put down the filename for slide. Get the slide images here. Currently the wiki saves and upload these image files as BANNER_YEAR_MONTH_DAY format, adding _N for additional pictures uploaded within the same day (e.g.BANNER_2017_MAR_3_1.jpg
for second image uploaded on the 3rd of March), so if should you be interested in uploading the images, please follow the same format.REGION_banner1~n_caption
— The line of text that goes under the same slide, usually a translation of the contents inside the slide. A link to the event page is appreciated.
Maintenance timers
REGION_maintenanceEnd_time
— the previous/current maintenance end time count up/countdown timer. Put the end time for the previous maintenance or an ongoing maintenance. Use "YEAR MONTH DAY 24hrTIME" format (e.g.2017 MAR 3 13:00
for 2017 3rd of March at 1PM in China).REGION_maintenanceEnd_link
— a link to the contents of the update somewhere within a subpage of Updates. Subpage format is Updates/year/month(full month name). e.g. Updates/2017/MarchREGION_maintenanceStart_time
— the next/current maintenance start time count up/countdown timer. Put the start time for the current maintenance or starting time of the next maintenance. Use "YEAR MONTH DAY 24hrTIME" format (e.g.2017 MAR 3 13:00
for 2017 3rd of March at 1PM in China).REGION_maintenanceStart_link
— a link for contents of the update for maintenanceStart_time instead of maintenanceEnd_time.
Promotion Timers (from in-game main screen left bottom corner)
REGION_promotion1~n_time
— countdown until or countup after the end of this promotion. Uses "YEAR MONTH DAY 24hrTIME" format (e.g.2017 MAR 3 13:00
for 2017 3rd of March at 1PM in China).REGION_promotion1~n_image
— Similar to banner slides, put down the filename for slide. Get the slide images from your android/emulator, in thesdcard/Android/data/com.digitalsky.girlsfrontline.cn/files/activity/
directory. Currently the wiki saves and upload these image files as Promotion_YEAR_MONTH_DAY format, adding _N for additional pictures uploaded within the same day (e.g.Promotion_2017_MAR_3_1.jpg
for second promotion image uploaded on the 3rd of March), so if should you be interested in uploading the images, please follow the same format.REGION_promotion1~n_caption
— The line of text that goes under the same slide, usually a translation of the contents inside the slide. A link to the event page is appreciated.
Notes
- This template uses Widget:mainpage.
Example
GuidesIndexes |
Mechanics |
NewsCommunity |
TBA
TBA
About Girls' Frontline
Developed by Mica Team, Girls' Frontline is a mobile Tactical SLG for Android and iOS where the player takes the role of a newly recruited commander in a Private Military Company named Grifon&Kryuger and completes various tasks by commanding highly advanced androids known as Tactical Dolls.
This wiki provides detailed information and tutorials in English for players that cannot read Chinese.
The above documentation is transcluded from Template:mainpage/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Example
GuidesIndexes |
Mechanics |
NewsCommunity |
TBA
TBA
About Girls' Frontline
Developed by Mica Team, Girls' Frontline is a mobile Tactical SLG for Android and iOS where the player takes the role of a newly recruited commander in a Private Military Company named Grifon&Kryuger and completes various tasks by commanding highly advanced androids known as Tactical Dolls.
This wiki provides detailed information and tutorials in English for players that cannot read Chinese.