Template:Days ago/doc

From Dota 2 Wiki
Jump to: navigation, search

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[edit]

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

Example[edit]

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

TemplateData[edit]

Display the days since the given date.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Date1

no description

Default
empty
Example
2015-02-03
Auto value
empty
Daterequired