Difference between revisions of "Template:OutageCounter"

From CWCki
Jump to navigation Jump to search
m
 
(22 intermediate revisions by 5 users not shown)
Line 1: Line 1:
4 days without an outage!
{{#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.
<noinclude>[[Category:Front page templates]]</noinclude>
=== 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>

Latest revision as of 20:13, 29 May 2010

5430 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: 1731550749
  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.