Changes

m
no edit summary
Line 1: Line 1:  
<includeonly>{{#if:{{{timer|}}}|{{Timer|time={{Maintenance/{{{1}}}}}|endClass=maint-{{{1}}}|endText={{#ifeq:{{{1}}}|Start|'''Maintenance has started.'''|{{#ifeq:{{{1}}}|End|'''Maintenance has ended.'''}}}}}}|{{#if:{{{short|}}}|{{#explode:{{Maintenance/{{{1}}}}}|:|0}}:{{#explode:{{Maintenance/{{{1}}}}}|:|1}}|{{Maintenance/{{{1}}}}}}}}}</includeonly><noinclude>
 
<includeonly>{{#if:{{{timer|}}}|{{Timer|time={{Maintenance/{{{1}}}}}|endClass=maint-{{{1}}}|endText={{#ifeq:{{{1}}}|Start|'''Maintenance has started.'''|{{#ifeq:{{{1}}}|End|'''Maintenance has ended.'''}}}}}}|{{#if:{{{short|}}}|{{#explode:{{Maintenance/{{{1}}}}}|:|0}}:{{#explode:{{Maintenance/{{{1}}}}}|:|1}}|{{Maintenance/{{{1}}}}}}}}}</includeonly><noinclude>
 +
==Usage==
 +
Request current maintenance start time from [[Template:Maintenance/Start]]:
 +
 +
<pre>{{Maintenance|Start}}</pre>
 +
 
{{Maintenance|Start}}
 
{{Maintenance|Start}}
 +
 +
As [[Template:Timer]]:
 +
 +
<pre>{{Maintenance|Start|timer=true}}</pre>
    
{{Maintenance|Start|timer=true}}
 
{{Maintenance|Start|timer=true}}
 +
 +
Short form:
 +
 +
<pre>{{Maintenance|Start|short=true}}</pre>
    
{{Maintenance|Start|short=true}}
 
{{Maintenance|Start|short=true}}
 +
 +
Same for [[Template:Maintenance/End]], [[Template:Maintenance/End1]], etc.
 +
 +
<pre>{{Maintenance|End}}</pre>
 +
 +
{{Maintenance|End}}
 +
 +
<pre>{{Maintenance|End1}}</pre>
 +
 +
{{Maintenance|End1}}
 
</noinclude>
 
</noinclude>
cssedit, gkautomate
7,064

edits