• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Template:Maintenance"

From Kancolle Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<includeonly>{{#if:{{{timer|}}}|{{Timer|time={{Maintenance/Times|{{{1}}}}}|endClass=maint-{{{1}}}|endText={{#ifeq:{{{1}}}|Start|'''Maintenance has started.'''|{{#ifeq:{{{1}}}|End|'''Maintenance has ended.'''}}}}}}|{{#if:{{{short|}}}|{{#explode:{{Maintenance/Times|{{{1}}}}}|:|0}}:{{#explode:{{Maintenance/Times|{{{1}}}}}|:|1}}|{{Maintenance/Times|{{{1}}}}}}}}}</includeonly><noinclude>
 
<includeonly>{{#if:{{{timer|}}}|{{Timer|time={{Maintenance/Times|{{{1}}}}}|endClass=maint-{{{1}}}|endText={{#ifeq:{{{1}}}|Start|'''Maintenance has started.'''|{{#ifeq:{{{1}}}|End|'''Maintenance has ended.'''}}}}}}|{{#if:{{{short|}}}|{{#explode:{{Maintenance/Times|{{{1}}}}}|:|0}}:{{#explode:{{Maintenance/Times|{{{1}}}}}|:|1}}|{{Maintenance/Times|{{{1}}}}}}}}}</includeonly><noinclude>
A template to centralize maintenance start/end times definitions and queries. Times are defined in [[Template:Maintenance/Times]] and can be queried as follows.
+
A template to centralize maintenance time definitions and queries. Times are defined in [[Template:Maintenance/Times]] and can be queried as follows.
  
 
Request current maintenance start time:
 
Request current maintenance start time:

Revision as of 14:40, 28 November 2019

A template to centralize maintenance time definitions and queries. Times are defined in Template:Maintenance/Times and can be queried as follows.

Request current maintenance start time:

{{Maintenance|Start}}

As Template:Timer:

{{Maintenance|Start|timer=true}}

Short form:

{{Maintenance|Start|short=true}}

Same for other defined times (End, etc.).