Template:Days ago/doc

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
YYYY-MM-DD

Example

 * 2010-12-08 generates

TemplateData
{	"params": { "1": {			"label": "Date", "example": "2015-02-03", "type": "date", "required": true }	},	"description": "Display the days since the given date.", "format": "inline" }

zh:Template:Days ago/doc