Template:New year header/doc

Usage
This template is used every New Year's Day on the articles for the involved years while the year is changing over. The year changes at different times in different time zones, and this template automates the updates to keep the articles current hour-to-hour.

It works by calculating the time zone in which it was most recently midnight of a new year, and displaying appropriate text for the first sentence of the appropriate year article. This template gives accurate results between 0:00, December 31 UTC and 23:59, January 1 UTC; at other times the standard template should be used.

Usage:

Use "new" for the incoming year and "old" for the outgoing year. For testing, an optional second and third argument can provide a day of the month (31 or 1) and a time in hhmm format, no colon.

TemplateData
{	"params": { "1": {			"description": "Specifies whether the year in question is the incoming or outgoing year.", "example": "'new' or 'old'", "type": "string", "suggestedvalues": [ "new", "old" ],			"aliases": [ "year" ],			"required": true, "label": "Year", "default": "'new' if not specified", "autovalue": "new" },		"2": {			"description": "The day of the month.", "example": "'31' for 31 December, '1' for 1 January", "type": "number", "suggestedvalues": [ "31",				"1"			],			"aliases": [ "day" ],			"label": "Day", "default": "Current day of the month if not specified" },		"3": {			"description": "The time in UTC, written in 24-hour 'hhmm' format.", "example": "'1200' for noon, '0000' for midnight", "type": "number", "aliases": [ "time" ],			"suggestedvalues": [ "1600",				"0000",				"1200"			],			"label": "Time (UTC)", "default": "Current time if not specified" }	},	"description": "Header used for year articles on New Year's Day when the year changes over. The header updates automatically based on time zones which have most recently reached midnight.", "format": "inline" }