Difference between revisions of "Template:Coords are announced"

From Geohashing
imported>Starbird
(Undo revision 198237 by 60.217.248.145 (Talk))
imported>Starbird
(Undo revision 198231 by 77.242.37.5 (Talk))
Line 1: Line 1:
Nice site. Thank you., http://dasikava.myip.org/conversation-/fovee.html mobile home accessory,  hab, http://dasikava.myip.org/verizon-prepa/renusthalyo.html message picture ringtone,  vgnupb, http://lipodrom.co.tv/country-dance/pedrendine.html iriver 512mb mp3 player,  qpps, http://lioponika.vugg.net/music-trivia/wodsheeinyi.html mp3directcut,  qnodep, http://gagara.myvnc.com/digital-dj/derencuged.html lyric music vietnamese,  iwcisv,
+
<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 12:56, 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.