Difference between revisions of "Template:Currenttime/doc"

From blackwiki
Jump to navigation Jump to search
imported>PrimeHunter
(fix example)
imported>Frietjes
Line 10: Line 10:
 
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.
 
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}}}}
+
{{ {{BASEPAGENAME}} }}
  
 
'''The template makes a footnote reference stating''': Calculated using [[Wikipedia:Parser functions|Wikimedia Foundation Inc.]]. For more information see [[WP:CCT]]. To update time <span class="plainlinks">[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAMEE}}|action=purge}} purge page cache]</span>.
 
'''The template makes a footnote reference stating''': Calculated using [[Wikipedia:Parser functions|Wikimedia Foundation Inc.]]. 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 14:19, 14 September 2016

Notice

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.

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

Example: {{currenttime|place=Paris|offset=+1|dst=Europe}}

This produces:

See also: Wikipedia:WikiProject Current Local City Time

  1. Calculated using Wikimedia Foundation Inc.. For more information see WP:CCT. To update time Script error: No such module "Purge"..
  2. Calculated using Wikimedia Foundation Inc.. For more information see WP:CCT. To update time Script error: No such module "Purge"..