Difference between revisions of "Template:OutageCounter"

From CWCki
Jump to navigation Jump to search
(Finally replaced the whole thing with a version that should work over new years.)
m
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#expr: (-1262392358 +{{#time:U}})/86400 round 0}} days without an outage!<noinclude>
{{#expr: (-1262392358 +{{#time:U}})/86400 round 0}} days without an outage!<noinclude>{{clear}}{{Usage|1= This template used to sit pride of place on the CWCki [[Main Page]]. Before great advancements in technology were made, the CWCki used to experience some downtime. This template was used to keep a track of the CWCki's uptime.
=== How to update ===


== How to update ==
# Copy this timestamp code: '''{{#time:U}}'''
 
# Copy the current time stamp off this fine template page: '''{{#time:U}}'''
# Hit edit.
# Hit edit.
# Look at the mysterious code that's at the top of the page that looks like this:<br/><nowiki>{{#expr: (-XXXXX +{{#time:U}})/86400 round 0}}</nowiki>
# Look at the mysterious code that's at the top of the page that looks like this:<br/><nowiki>{{#expr: (-XXXXX +{{#time:U}})/86400 round 0}}</nowiki>
# Replace the current number at XXXXX with the new time stamp. Leave the minus sign in!
# Replace the current number at XXXXX with the new time stamp. Leave the minus sign in!
# Save.
# Save.
 
}}
By [[User:Ror|Ror]] and [[User:Wwwwolf|wwwwolf]].
 
[[Category:Front page templates]]</noinclude>
[[Category:Front page templates]]</noinclude>

Latest revision as of 20:13, 29 May 2010

5463 days without an outage!

Usage

These usage notes will not be included in articles bearing this template.

This template used to sit pride of place on the CWCki Main Page. Before great advancements in technology were made, the CWCki used to experience some downtime. This template was used to keep a track of the CWCki's uptime.

How to update

  1. Copy this timestamp code: 1734411209
  2. Hit edit.
  3. Look at the mysterious code that's at the top of the page that looks like this:
    {{#expr: (-XXXXX +{{#time:U}})/86400 round 0}}
  4. Replace the current number at XXXXX with the new time stamp. Leave the minus sign in!
  5. Save.