Difference between revisions of "Template:Coordinates date"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="background:#eee; font-family: Courier New; font-size: 10pt; padding-left:5px;">
+
<includeonly><div style="background:#e7e7e7; font-family: Courier New; font-size: 10pt; padding-left:5px;">
 
{{#ifeq: {{coordinates|{{{1}}}}} | {{coordinates|{{{1}}}|30w=1}}
 
{{#ifeq: {{coordinates|{{{1}}}}} | {{coordinates|{{{1}}}|30w=1}}
 
| '''All locations:''' {{coordinates|{{{1}}}}}
 
| '''All locations:''' {{coordinates|{{{1}}}}}
 
| '''West of [[30W Time Zone Rule|-30°]]:''' {{coordinates|{{{1}}}}}<br>'''East of -30°:''' {{coordinates|{{{1}}}|30w=1}}
 
| '''West of [[30W Time Zone Rule|-30°]]:''' {{coordinates|{{{1}}}}}<br>'''East of -30°:''' {{coordinates|{{{1}}}|30w=1}}
}}
+
}}<br>
 +
'''[[Globalhash]]:''' {{:Globalhash/Todays Coordinates|{{{1}}}}}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
 
<code><nowiki>{{coordinates date}}</nowiki></code> gives coordinate fractions out to seven decimal places for both east and west of [[30W]].
 
<code><nowiki>{{coordinates date}}</nowiki></code> gives coordinate fractions out to seven decimal places for both east and west of [[30W]].
 
* Must be passed a date in '''YYYY-MM-DD''' format, ''e.g.,'' <code><nowiki>{{coordinates date|2008-06-30}}</nowiki></code>.
 
* Must be passed a date in '''YYYY-MM-DD''' format, ''e.g.,'' <code><nowiki>{{coordinates date|2008-06-30}}</nowiki></code>.
* Automatically condenses to say "all locations" when locations are the same at all locations.
+
* Automatically condenses to say "all locations" when locations are the same in all graticules.
  
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:24, 25 July 2010

Usage

{{coordinates date}} gives coordinate fractions out to seven decimal places for both east and west of 30W.

  • Must be passed a date in YYYY-MM-DD format, e.g., {{coordinates date|2008-06-30}}.
  • Automatically condenses to say "all locations" when locations are the same in all graticules.