Difference between revisions of "Template:OutageCounter"
Jump to navigation
Jump to search
(Reset the counter, because the simplistic math doesn't account for year change. Better to be slightly wrong than completely wrong =)) |
m |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{#expr: (- | {{#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 === | |||
# Copy this timestamp code: '''{{#time:U}}''' | |||
# 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> | |||
# Replace the current number at XXXXX with the new time stamp. Leave the minus sign in! | |||
# Save. | |||
}} | |||
[[Category:Front page templates]]</noinclude> | [[Category:Front page templates]]</noinclude> |
Latest revision as of 20:13, 29 May 2010
5440 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
- Copy this timestamp code: 1732402188
- Hit edit.
- Look at the mysterious code that's at the top of the page that looks like this:
{{#expr: (-XXXXX +{{#time:U}})/86400 round 0}} - Replace the current number at XXXXX with the new time stamp. Leave the minus sign in!
- Save.