Difference between revisions of "Template:GPS"

From The Shartak Wiki
Jump to navigationJump to search
(Created the template.)
 
m (Tried to fix the template errors introduced by the MediaWiki upgrade.)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[http://www.itechsc.com/misc/shartak/ubermap/closeup.php?cx={{{1}}}{{{2}}}&cy={{{3}}}{{{4}}}&dn=1&zn=1&sd=1 <nowiki>[</nowiki>{{{1}}}.{{{2}}},+{{{3}}}.{{{4}}}<nowiki>]</nowiki>]</includeonly><noinclude>
+
<includeonly>[http://www.itechsc.com/misc/shartak/ubermap/mapposgen.php?cx=-{{{1}}}{{{2}}}&cy={{{3}}}{{{4}}} [-{{{1}}}.{{{2}}},+{{{3}}}.{{{4}}}&#93;]</includeonly><noinclude>
  
This is a template for [[Items#GPS_Unit|GPS]] coordinates that displays the coordinates and links them to a map at the [http://www.itechsc.com/misc/shartak/ubermap/ Shartak UBER MAP Project].
+
This is a template for [[Items#GPS_Unit|GPS]] coordinates that displays the coordinates and links them to a satellite map at the [http://www.itechsc.com/misc/shartak/ubermap/ Shartak UBER MAP Project]. For a template that links to local maps instead, see [[Template:Map]].
  
  
{| cellpadding="5" cellspacing="1" style="background-color: #ccc"
+
{| border="1" cellpadding="5" cellspacing="1" style="background-color: #f9f9f9; border: solid 1px #ccc; border-collapse: collapse"
 
|-bgcolor="#ddd"
 
|-bgcolor="#ddd"
! Input !! Output
+
! Coordinates !! Input !! Output
|-bgcolor="#f9f9f9"
+
|-
|| <nowiki>{{gps|-70|367|26|313}}</nowiki> || {{gps|-70|367|26|313}}
+
|| -70.367,+26.313 || <nowiki>{{GPS|70|367|26|313}}</nowiki> || {{GPS|70|367|26|313}}
 
|}
 
|}
  
[[Category:Templates]]</noinclude>
+
*Proper capitalization is necessary. <nowiki>{{GPS|70|367|26|313}}</nowiki> will work; <nowiki>{{gps|70|367|26|313}}</nowiki> will not.
 +
 
 +
 
 +
 
 +
[[Category:Templates|GPS]]</noinclude>

Latest revision as of 02:56, 13 July 2006


This is a template for GPS coordinates that displays the coordinates and links them to a satellite map at the Shartak UBER MAP Project. For a template that links to local maps instead, see Template:Map.


Coordinates Input Output
-70.367,+26.313 {{GPS|70|367|26|313}} [-70.367,+26.313]
  • Proper capitalization is necessary. {{GPS|70|367|26|313}} will work; {{gps|70|367|26|313}} will not.