Template:Days ago

From the Portal Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for Days ago

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 {{Latest updates}} template that appears on the Main Page. As the code of this template can be quite complex, {{Days ago/core}} is used to hold the mathematical expressions and {{Days ago}} handles language translations.

Usage

  • {{Days ago|2010|12|8}} (yyyy-m-d) generates 4860 days ago
  • {{Days ago|2010|12|8|br=yes}} (yyyy-m-d) generates (4860 days ago)