Jump to content

Wikihoc:WikiProject Geographical coordinates/globe:

From Wikihoc

The globe: parameter specifies the planet, dwarf planet, asteroid, or natural satellite upon which the coordinates reside. Apart from earth (the default), recognized values are: mercury, venus, moon, mars, phobos, deimos, ceres, vesta, jupiter, ganymede, callisto, io, europa, mimas, enceladus, tethys, dione, rhea, titan, hyperion, iapetus, phoebe, miranda, ariel, umbriel, titania, oberon, triton, pluto, and charon.

Samples
Subject G Markup Result
Kittu Crater ganymede {{coord|0.4|N|334.6|W|globe:ganymede}} Lua error: callParserFunction: function "#coordinates" was not found.
Viking 2 lander mars {{coord|48.269|N|225.990|W|globe:mars}} Lua error: callParserFunction: function "#coordinates" was not found.
Mozart Crater mercury {{coord|7.8|N|190.5|W|globe:mercury}} Lua error: callParserFunction: function "#coordinates" was not found.
Apollo 11 lander moon {{coord|0|40|26.69|N|23|28|22.69|E|globe:moon}} Lua error: callParserFunction: function "#coordinates" was not found.
Ksa Crater titan {{coord|14.0|N|65.4|W|globe:titan}} Lua error: callParserFunction: function "#coordinates" was not found.
Venera 13 lander venus {{coord|7.5|S|303|E|globe:venus}} Lua error: callParserFunction: function "#coordinates" was not found.
Stickney Crater phobos {{coord|1|N|49|W|globe:phobos}} Lua error: callParserFunction: function "#coordinates" was not found.

Very rough mapping is provided on geohack for almost all supported globes. The pop-out WikiMiniAtlas system provides limited mapping for Moon, Mars, Mercury, Venus, Io, and Titan, {{#if: | {{{alt}}} | {{#if:||{{#if:{{safesubst:#switch:

|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}|{{#if: {{safesubst:#switch: 1

|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}} | s | S }}ince | {{#if: {{safesubst:#switch: 1

|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}} | a | A }}s of}}}} {{#if:|{{{pre}}} }}{{#if: | {{#switch:|us|mdy={{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:{{{3}}}}}, |{{#expr:{{{3}}}}} {{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} }}2021|{{#if: 02 |{{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} }}2021}}}}{{#if:|{{{post}}}}}{{#ifeq:{{ safesubst:#if:

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Wikihoc:WikiProject Geographical coordinates/globe:}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Wikihoc:WikiProject Geographical coordinates/globe:}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Wikihoc|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:{{#if: {{#ifexpr: 2021 = 1 }} |{{#ifexpr:{{#time:U|2021}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|2021}} > 2004 | 2021 | {{#ifexpr: {{#time:Y|2021}} > 1989 | {{#time:Y|2021}} | before 1990 }}}}}} |{{#ifexpr: 2021 > 2004 | {{#ifexpr:{{#time:U|{{#if:02 | {{#if:02|{{#switch:{{safesubst:#if:02
|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}}} 2021}} > {{#time:U}} | the future| {{#if:02 | {{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} }} 2021}} | {{#ifexpr:2021 > 1989 | 2021 | before 1990 }}}}}}

 |[[Category:Articles containing potentially dated statements from {{#if: {{#ifexpr: 2021 = 1 }} |{{#ifexpr:{{#time:U|2021}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|2021}} > 2004 | 2021 | {{#ifexpr: {{#time:Y|2021}} > 1989 | {{#time:Y|2021}} | before 1990 }}}}}} |{{#ifexpr: 2021 > 2004 | {{#ifexpr:{{#time:U|{{#if:02 | {{#if:02|{{#switch:{{safesubst:#if:02
|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}}} 2021}} > {{#time:U}} | the future| {{#if:02 | {{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} }} 2021}} | {{#ifexpr:2021 > 1989 | 2021 | before 1990 }}}}}}]]{{#ifexist:Category:Articles containing potentially dated statements from {{#if: {{#ifexpr: 2021 = 1 }} |{{#ifexpr:{{#time:U|2021}} > {{#time:U}} | the future | {{#ifexpr: {{#time:Y|2021}} > 2004 | 2021 | {{#ifexpr: {{#time:Y|2021}} > 1989 | {{#time:Y|2021}} | before 1990 }}}}}} |{{#ifexpr: 2021 > 2004 | {{#ifexpr:{{#time:U|{{#if:02 | {{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}}} 2021}} > {{#time:U}} | the future| {{#if:02 | {{#if:02|{{#switch:{{safesubst:#if:02

|{{safesubst:#switch:02
 |january|jan=1
 |february|feb=2
 |march|mar=3
 |apr|april=4
 |may=5
 |june|jun=6
 |july|jul=7
 |august|aug=8
 |september|sep|sept=9
 |october|oct=10
 |november|nov=11
 |december|dec=12
 |{{safesubst:#ifexpr:02<0
  |{{safesubst:#ifexpr:((02)round 0)!=(02)
   |{{safesubst:#expr:12-(((0.5-(02))round 0)mod 12)}}
   |{{safesubst:#expr:12-(((11.5-(02))round 0)mod 12)}}
  }}
 |{{safesubst:#expr:(((10.5+02)round 0)mod 12)+1}}
 }}
}}
|Missing required parameter 1=month!

}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} }} 2021}} | {{#ifexpr:2021 > 1989 | 2021 | before 1990 }}}}}}

   ||}}
 |[[Category:{{#if:
              ||Articles containing potentially dated statements}}]]}}{{#if:All articles containing potentially dated statements
     |}}}}}}.

The maps roughly imply a coordinate reference system, but do not clearly specify one (unlike Earth's WGS84). Since the template defaults to east longitude, the |W| direction must be specified for globes that measure longitude westward. For celestial coordinates, use {{Sky}} instead.