Template:Currenttime/doc

From blackwiki
< Template:Currenttime
Revision as of 12:52, 2 September 2014 by imported>Eric Kvaalen (Clarified some things and modified the description of the reference line to reflect a change I made to the template, since it wasn't working.)
Jump to navigation Jump to search

Notice

This template will add a link to the articles within UTC. Specifically it will also categorize articles into their corresponding time zone category. (ex.: Category:UTC+0 or Category:UTC-5). In turn these will need to be added to Category:Time zones. This template is a partial self-reference because it uses an equation to calculate the date and time. However, this date and time is easily verifiable and so is part of the encyclopedic content.


If you wish for the reference to appear this template should be substituted onto pages it appears on, or else a red error message will appear.

This template must be substituted. Replace {{Currenttime with {{subst:Currenttime.

The template makes a footnote reference stating: Calculated using Wikimedia Foundation Inc.. For more information see WP:CCT. To update time purge page cache.

Usage

{{currenttime
|place=    Place name, e.g. Paris. Used in the display, not in the calculation. Default value is {{PAGENAME}}.
|offset=   Time offset, in hours, e.g. +1 or 0 or -14 or +7.5. Default value is 0.
|dst=      System used for observing Daylight saving time, can be Europe or North America or none. Default value is none.
}}

See also: Wikipedia:WikiProject Current Local City Time