Dota 2 Wiki
Register
Advertisement

This template makes use of ParserFunctions in the MediaWiki software to calculate the amount of days past since a specified date. Its main usage is on the Main Page to display how long the latest patch, test patch, blog post and version has been released.

Usage[]

{{Days ago|YYYY-MM-DD}}

Example[]

  • {{Days ago|2010-12-08}} generates 4859 days ago

TemplateData[]

Display the days since the given date.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Date1

no description

Example
2015-02-03
Daterequired
Advertisement