Difference between revisions of "Template:Coords"

From Hitchwiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><span style="font-size: 12px; line-height: 12px; color:#555; display:block; float: right; margin: 5px; padding: 3px; background: #ebebeb; width: 200px;">'''Coordinates:'''  
+
<includeonly>
 +
<span style="font-size: 12px; line-height: 12px; color:#555; display:block; float: right; margin: 5px; padding: 3px; background: #ebebeb; width: 200px;">'''Coordinates:'''  
 +
[http://maps.google.com/maps?f=q&q={{#invoke:Coordinates|main|{{{1}}}|{{{2}}}}} {{#invoke:Coordinates|main|{{{1}}}|{{{2}}}}}]
 +
</span>
 +
</includeonly><noinclude>
  
[http://maps.google.com/maps?f=q&q={{{lat}}},{{{lon}}}&ie=UTF8 <span title="Latitude">Lat</span> {{{lat}}}, <span title="Longitude">Lon</span> {{{lon}}}</span>]</includeonly><noinclude>
+
== Template usage ==
  
Under thinking and constructin. :P -[[User:Mikael|Mikael]] 16:15, 18 May 2009 (UTC)
+
To use this template, input the latitude and longitude values using the format:
 +
<nowiki>{{Coords|Latitude|Longitude}}</nowiki>
 +
 
 +
Example:
 +
<nowiki>{{Coords|48.8584|2.2945}}</nowiki>
  
 
[[Category:Templates|Coords]]
 
[[Category:Templates|Coords]]
 
</noinclude>
 
</noinclude>

Revision as of 15:44, 7 December 2024


Template usage

To use this template, input the latitude and longitude values using the format: {{Coords|Latitude|Longitude}}

Example: {{Coords|48.8584|2.2945}}