Template:mainpage/doc: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) mNo edit summary |
Pianoforte (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
Please remove the parameters that are left blank. | Please remove the parameters that are left blank. | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Template:mainpage | {{Template:mainpage | ||
|banner1_image = | |banner1_image = |
Revision as of 13:39, 3 March 2017
![]() | This is a documentation subpage for Template:mainpage. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to update the main page here: Girls'_Frontline_Wiki
Usage
Please remove the parameters that are left blank.
{{Template:mainpage |banner1_image = |banner1_caption = |banner2_image = |banner2_caption = ... |maintenance1_time = |maintenance1_link = |maintenance2_time = |maintenance2_link = |promotion1_time = |promotion1_image = |promotion1_caption = |promotion2_time = |promotion2_image = |promotion2_caption = ... }}
Parameter list
Event Banners (from the in-game event page)
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 uplaoded on the 3rd of March), so if should you be interested in uploading the images, please follow the same format.
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
maintenance1_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).
maintenance1_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
maintenance2_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).
maintenance2_link -
a link for contents of the update for maintenance2_time instead of 1.
Promotion Timers (from in-game main screen left bottom corner)
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).
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 uplaoded on the 3rd of March), so if should you be interested in uploading the images, please follow the same format.
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.