Difference between revisions of "Template:Currenttime/doc"
imported>Smith609 m (←Created page with '<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS...') |
(→Notice: fix ref) |
||
| Line 7: | Line 7: | ||
If you wish for the reference to appear this template should be [[Wikipedia:Template substitution|substituted]] onto pages it appears on, or else red text ({{error:not substituted|currenttime}}) will appear. | If you wish for the reference to appear this template should be [[Wikipedia:Template substitution|substituted]] onto pages it appears on, or else red text ({{error:not substituted|currenttime}}) will appear. | ||
| + | |||
| + | '''The reference states''': Calculated using [[Wikipedia:Parser functions|Wikimedia Foundation Inc.]] and [[UTC{{{offset|+0}}}]]. For more information see [[WP:CCT]]. To update time <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAMEE}}|action=purge}} purge page cache]</span>. | ||
==Usage== | ==Usage== | ||
Revision as of 04:01, 17 October 2008
Template:Template doc page viewed directly
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 red text (This template must be substituted. Replace {{currenttime with {{subst:currenttime.) will appear.
The reference states: Calculated using Wikimedia Foundation Inc. and UTC+0. For more information see WP:CCT. To update time purge page cache.
Usage
{{currenttime
|place= place name, e.g. Paris 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
}}