Changes

m
no edit summary
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='''{{{text|{{#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 time 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.
   Line 10: Line 10:  
As [[Template:Timer]]:
 
As [[Template:Timer]]:
   −
<pre>{{Maintenance|Start|timer=true}}</pre>
+
<pre>{{Maintenance|Start|timer=true|text=Optionally custom endText}}</pre>
   −
<blockquote>{{Maintenance|Start|timer=true}}</blockquote>
+
<blockquote>{{Maintenance|Start|timer=true|text=Optionally custom endText}}</blockquote>
    
Short form:
 
Short form:
cssedit, gkautomate
7,064

edits