Difference between revisions of "Template:Coordinates date"

From Geohashing
imported>Tjtrumpet2323
m (Usage)
imported>Tjtrumpet2323
m
Line 1: Line 1:
<includeonly><div style="background:#ddd; font-family: Courier New; font-size: 10pt; padding-left:5px;">
+
<includeonly><div style="background:#eee; 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}}}}}
Line 7: Line 7:
 
== 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>{{coordinates date|2008-06-30}}</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 at all locations.
  
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
[[Category:Coordinate calculation templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 04:34, 3 July 2008

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 at all locations.