Difference between revisions of "Template:GPS"
From The Shartak Wiki
Jump to navigationJump to searchm (Noted that capitalization is important; added a "Coordinates" column to the table; coded in the negative sign.) |
m (Tried to fix the template errors introduced by the MediaWiki upgrade.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[http://www.itechsc.com/misc/shartak/ubermap/ | + | <includeonly>[http://www.itechsc.com/misc/shartak/ubermap/mapposgen.php?cx=-{{{1}}}{{{2}}}&cy={{{3}}}{{{4}}} [-{{{1}}}.{{{2}}},+{{{3}}}.{{{4}}}]]</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" | ||
! Coordinates !! Input !! Output | ! Coordinates !! Input !! Output | ||
− | |- | + | |- |
|| -70.367,+26.313 || <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}} | ||
|} | |} | ||
Line 15: | Line 15: | ||
− | [[Category:Templates]]</noinclude> | + | [[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.