Difference between revisions of "Template:GPS"

From The Shartak Wiki
Jump to navigationJump to search
m (Capitalization is important.)
m (Noted that capitalization is important; added a "Coordinates" column to the table; coded in the negative sign.)
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/closeup.php?cx=-{{{1}}}{{{2}}}&cy={{{3}}}{{{4}}}&dn=1&zn=1&sd=1 <nowiki>[</nowiki>-{{{1}}}.{{{2}}},+{{{3}}}.{{{4}}}<nowiki>]</nowiki>]</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 map at the [http://www.itechsc.com/misc/shartak/ubermap/ Shartak UBER MAP Project].
Line 6: Line 6:
 
{| cellpadding="5" cellspacing="1" style="background-color: #ccc"
 
{| cellpadding="5" cellspacing="1" style="background-color: #ccc"
 
|-bgcolor="#ddd"
 
|-bgcolor="#ddd"
! Input !! Output
+
! Coordinates !! Input !! Output
 
|-bgcolor="#f9f9f9"
 
|-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}}
 
|}
 
|}
 +
 +
*Proper capitalization is necessary. <nowiki>{{GPS|70|367|26|313}}</nowiki> will work; <nowiki>{{gps|70|367|26|313}}</nowiki> will not.
 +
 +
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 20:08, 22 May 2006


This is a template for GPS coordinates that displays the coordinates and links them to a map at the Shartak UBER MAP Project.


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.