Difference between revisions of "Template:Coords are announced"

From Geohashing
(xBeyWHImO)
imported>Joannac
m (no verdict was returned)
 
(19 intermediate revisions by 14 users not shown)
Line 1: Line 1:
Very good site. Thanks!, http://vakilla.co.tv/add-anniversarys/index.html addition anniversary cigar padron,  3222, http://fasikava.cngogo.org/music-cluel/index.html download music persian,  :D, http://karbanat.co.tv/creative-video/index.html home insurance mobile owner,  >:OOO, http://calibra.co.tv/business-phone/index.html nextel cell phone service,  5922, http://karbanat.co.tv/at-t/index.html discount international phone card,  drnt,
+
<includeonly>{{#ifeq: {{usdst}} | 1 | {{#vardefine: currentETstamp|{{#time:YmdHi|{{CURRENTTIMESTAMP}} -4 hours}}}} | {{#vardefine: currentETstamp|{{#time:YmdHi|{{CURRENTTIMESTAMP}} -5 hours}}}} }}{{#ifexpr: {{#var:currentETstamp}} >= {{#time:Ymd|{{Dow date to use|{{{1}}}|30w={{{30w|0}}} }}}}0933 | 1 | 0}}<!-- SAFETY CUSHION of three minutes in case sources not yet updated --></includeonly><noinclude>
 +
== Usage ==
 +
<code><nowiki>{{coords are announced|2008-06-24|30w=0}}</nowiki></code> returns '''1''' if the coordinates for {{date link|2008-06-24}} have been announced; '''0''' if they have not.
 +
* <code>30w=1</code> is passed for coordinates east of [[30W]] longitude.
 +
</noinclude>

Latest revision as of 21:32, 10 January 2010

Usage

{{coords are announced|2008-06-24|30w=0}} returns 1 if the coordinates for Tuesday 24 June 2008 have been announced; 0 if they have not.

  • 30w=1 is passed for coordinates east of 30W longitude.