Template:Currenttime/doc
| This is a documentation subpage for Template:Currenttime. It contains usage information, categories and other content that is not part of the original template page. |
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