Difference between revisions of "Template:Coords are announced"

From Geohashing
(2002)
imported>Relet
(Undo revision 198105 by 123.125.156.137 (Talk) - spam)
Line 1: Line 1:
Very good site. Thanks!, http://tasikava.cnkk.org/aj-ally/mpthbeed.html mobile ip problem,  aktp, http://vakilla.co.tv/anniversary-gift/whedryitica.html erector set 100th anniversary,  63342, http://calibra.co.tv/musica-clasica/hikerashib.html az music lyric,  273, http://karbanat.co.tv/egg-grits/inten.html radio music award,  dlqok, http://karbanat.co.tv/egg-grits/jecozel.html cricket home page phone,  >:-OOO,
+
<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>

Revision as of 23:15, 9 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.