Difference between revisions of "Template:Updates/core"

From Team Fortress Wiki
Jump to: navigation, search
(Stable version, atm it'll display "1 days ago", and it won't handle days crossing months (i.e June 15, on August 2, it'll show -13 days ago))
m (fixed plurals, other problem still stands.)
Line 30: Line 30:
 
|10=2010
 
|10=2010
 
|09=2009
 
|09=2009
|08=2008}}]] <small>({{#expr:{{CURRENTDAY}}-{{{DAY}}}}} days ago)</small>'''
+
|08=2008}}]] <small>({{#expr:{{CURRENTDAY}}-{{{DAY}}}}} day{{#ifexpr:{{CURRENTDAY}}-{{{DAY|16}}}=1||s}} ago)</small>'''
 
<br>
 
<br>
 
[[File:Tf2-logo-transparent.png|18px|link=TF2 Official Blog]] The [[TF2 Official Blog|blog]] was last updated on '''<span class="plainlinks">[http://www.tf2.com/post.php?id={{{BID}}} {{#switch: {{{BMONTH}}}
 
[[File:Tf2-logo-transparent.png|18px|link=TF2 Official Blog]] The [[TF2 Official Blog|blog]] was last updated on '''<span class="plainlinks">[http://www.tf2.com/post.php?id={{{BID}}} {{#switch: {{{BMONTH}}}
Line 47: Line 47:
 
|10=2010
 
|10=2010
 
|09=2009
 
|09=2009
|08=2008}}] <small>({{#expr:{{CURRENTDAY}}-{{{BDAY}}}}} days ago)</small></span>'''
+
|08=2008}}] <small>({{#expr:{{CURRENTDAY}}-{{{BDAY}}}}} day{{#ifexpr:{{CURRENTDAY}}-{{{BDAY|16}}}=1||s}} ago)</small></span>'''
 
</div>
 
</div>

Revision as of 05:58, 17 July 2010