helialprofile.png
Welcome to IOPWiki, Commander. You can contribute to this wiki without an account. Learn how to contribute and join our Discord server.

Difference between revisions of "Template:mainpage"

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
Line 80: Line 80:
 
<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">
{{SmallSlider|id=updates|class={{#if:{{{maintenance2_time|}}}|button-glow}}|nopage=1|noarrow=1|list=<div class="jcarousel-item">{{#if:{{{maintenance2_time|}}}|{{OverlayCaption|100%|{{#if:{{{maintenance2_time|}}}|{{CountDown|maintenance2|{{{maintenance2_time|}}} +0800|<br>until [[{{{maintenance2_link|}}}|the next maintenance]]|<br>since [[{{{maintenance2_link|}}}|the maintenance began]]}}|Time until the next maintenance:<BR>TBA}}}}[[file:BG_updates2.png|link={{{maintenance2_link|}}}|395px]]|{{OverlayCaption|100%|{{CountDown|maintenance1|{{{maintenance1_time|}}} +0800|<br>until [[{{{maintenance1_link|}}}|the end of maintenance]]|<br>since [[{{{maintenance1_link|}}}|the last maintenance]]}}}}[[file:BG_updates.png|link={{{maintenance1_link|}}}|395px]]}}</div>
+
<div id=updates class="jcarousel-item {{#if:{{{maintenanceStart_time|}}}|button-glow}}">
}}
+
{{OverlayCaption|100%|{{#if:{{{maintenanceStart_time|}}}|{{CountDown|maintenanceStart|{{{maintenanceStart_time|}}} +0800|<br>until [[{{{maintenanceStart_link|}}}|the next maintenance]]|<br>since [[{{{maintenanceStart_link|}}}|the maintenance began]]}}|Time until the next maintenance:<BR>TBA}}}}
 +
{{OverlayCaption|100%|{{CountDown|maintenanceEnd|{{{maintenanceEnd_time|}}} +0800|<br>until [[{{{maintenanceEnd_link|}}}|the end of maintenance]]|<br>since [[{{{maintenanceEnd_link|}}}|the last maintenance]]}}|top}}[[file:Blank.png|link={{{maintenance1_link|}}}|395x395px]]</div>
 
{{PromotionSlider|id=promotions|noarrow=1|list=
 
{{PromotionSlider|id=promotions|noarrow=1|list=
 
{{#if:{{{promotion1_image|}}}{{{promotion1_time|}}}|<div class="jcarousel-item">[[File:Promotion_timer.png|20px|left]]{{CountDown|promotion1|{{{promotion1_time|}}} +0800|remaining|past}}[[file:{{{promotion1_image|}}}|395px]]{{OverlayCaption|100%|{{{promotion1_caption|}}}}}</div>}}
 
{{#if:{{{promotion1_image|}}}{{{promotion1_time|}}}|<div class="jcarousel-item">[[File:Promotion_timer.png|20px|left]]{{CountDown|promotion1|{{{promotion1_time|}}} +0800|remaining|past}}[[file:{{{promotion1_image|}}}|395px]]{{OverlayCaption|100%|{{{promotion1_caption|}}}}}</div>}}
Line 103: Line 104:
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>
<noinclude>{{Documentation}}</noinclude>
+
<noinclude>{{Documentation}}
 +
 
 +
==Example==
 +
 
 +
{{Template:mainpage
 +
 
 +
|banner1_image = BANNER 2017 DEC 21_A.jpg
 +
|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]] 
 +
 
 +
 
 +
|maintenanceEnd_time = 2018 JANUARY 11 14:00
 +
|maintenanceEnd_link = Updates/2018/January#January 4th
 +
|maintenanceStart_time = 2018 JANUARY 11 10:00
 +
|maintenanceStart_link = Updates/2018/January#January_11th
 +
 
 +
 
 +
|promotion1_time = 2018 JAN 11 23:59
 +
|promotion1_image = Promotion_2017_DEC_21_A.jpg
 +
|promotion1_caption = [[Events/2017/December#Operation Gingerbread Men Collecting|Operation Gingerbread Men Collecting]], fight normal chapter bosses for Gingerbread men!
 +
 
 +
|promotion2_time = 2018 JAN 31 23:59
 +
|promotion2_image = Promotion 2018 JAN 1.jpg
 +
|promotion2_caption = [[Events/2018/January#Daily Discount Package|Daily Discount Package]] available (limited to 1 purchase per day).
 +
 
 +
}}
 +
 
 +
</noinclude>

Revision as of 05:36, 11 January 2018

Documentation icon Template documentation[view] [edit] [history] [purge]

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/March
REGION_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 the sdcard/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

Example

Time until the next maintenance:
TBA
Blank.png

awefewaoifjweaofiwea

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.

Example

BANNER 2017 DEC 21 A.jpg
Operation Gingerbread Men Collecting duration from after maintenance 21st of December 2017 till after maintenance 11th of January 2018 Operation Gingerbread Men Collecting

Icon banner arrow left.png Icon banner arrow right.png

Blank.png
Promotion timer.png
Promotion 2017 DEC 21 A.jpg
Operation Gingerbread Men Collecting, fight normal chapter bosses for Gingerbread men!
Promotion timer.png
Promotion 2018 JAN 1.jpg
Daily Discount Package available (limited to 1 purchase per day).

awefewaoifjweaofiwea

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.