Template:Zonestamp/doc
This is a documentation subpage for Template:Zonestamp. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]Turns a date/time specifier into a link to the ZoneStamp timezone conversion tool. ZoneStamp displays the unix timestamp provided in the URL in the browser's local timezone using JavaScript. The output is also wrapped in a <time datetime="...">...</time>
HTML tag containing a machine readable ISO 8601 timestamp representing the date + time.
First parameter is the time, in any format understood by #time. The second, optional parameter is how the link text. Link text defaults to the date/time specifier value.
Provides a link to the Zonestamp time zone conversion tool on Toolforge
Parameter | Description | Type | Status | |
---|---|---|---|---|
timestamp | 1 | UTC timestamp in any format supported by the time parser function
| Date | required |
display text | 2 | Overrides the default RFC 5322 datetime display
| Line | optional |
format string | f | Datetime format string for display, see https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##time
| Line | optional |
end time | end | End of the event, in UTC, in any format.
| Date | optional |
hours | hours | Duration in hours. Alternative to 'end'. When used with 'minutes', the two are added together.
| Number | optional |
minutes | minutes | Duration in minutes. Alternative to 'end'. When used with 'hours', the two are added together. | Number | optional |