Difference between revisions of "Template:Currenttime/doc"

From blackwiki
Jump to navigation Jump to search
(→‎Notice: fix ref)
imported>Thesevenseas
(Optimised Text)
Line 6: Line 6:
 
<!-- We need to add this to the template like the do at template:afd -->
 
<!-- We need to add this to the template like the do at template:afd -->
  
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 a red error message will appear.
 +
 
 +
{{error:not substituted|{{BASEPAGENAME}}}}
  
 
'''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>.
 
'''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>.

Revision as of 21:51, 3 August 2010

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 a red error message will appear.

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

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
}}

See also: Wikipedia:WikiProject Current Local City Time