Difference between revisions of "Template:OutageCounter"
Jump to navigation
Jump to search
(Made it 259, since it should be 10 days between 17 September and 27 September.) |
(fix double noinclude/formatting) |
||
Line 1: | Line 1: | ||
{{#expr: (-259 +{{#time:z}})}} days without an outage! | {{#expr: (-259 +{{#time:z}})}} days without an outage!<noinclude> | ||
<noinclude> | |||
Here's the code I whipped up:<nowiki>{{#expr: (-xxx +{{#time:z}})}}</nowiki> | |||
<br>To calculate the date to put in without having to figure it out manually use http://mistupid.com/calendar/dayofyear.htm | <br>To calculate the date to put in without having to figure it out manually use http://mistupid.com/calendar/dayofyear.htm | ||
<br>Then replace xxx with the calculated date.--[[User:Ror|Ror]]</noinclude> | <br>Then replace xxx with the calculated date.--[[User:Ror|Ror]] | ||
[[Category:Front page templates]]</noinclude> |
Revision as of 16:35, 28 September 2009
69 days without an outage!
Here's the code I whipped up:{{#expr: (-xxx +{{#time:z}})}}
To calculate the date to put in without having to figure it out manually use http://mistupid.com/calendar/dayofyear.htm
Then replace xxx with the calculated date.--Ror