Template talk:OutageCounter

From CWCki
Revision as of 04:49, 27 September 2009 by VanKrause (talk | contribs)
Jump to navigation Jump to search

how do i shot counter?

Could someone figure out if there's any way we can do a counter for this? Like, have a counter to keep track of days since 17 September 2008 without having to manually change this? --Champthom 02:50, 19 September 2009 (CEST)

  • This seems to be the answer. I know we can do stuff with magic words like {{CURRENTDAY}}, just need to fiddle so I can get it to work so it can calculate since the last day we've had an outage. --Champthom 09:17, 19 September 2009 (CEST)
  • Wikipedia has wikipedia:Template:Age in days, but my head goes spinning every time I see the gigantic load of curly braces and a bunch of {{#expr:}} hackery. In summary: Date arithmetic is for people with greater minds than mine. --wwwwolf (wake me when you need me) 12:43, 19 September 2009 (CEST)
  • I made a working days since calculator and posted a guide of how it works bracketed in <noinclude> tags so it'll show up when anyone looks at the template, but not when the template embedded.--Ror 11:49, 27 September 2009 (CEST)