Template:Kerbalmaps/doc

From Kerbal Space Program Wiki
< Template:Kerbalmaps
Revision as of 20:59, 5 February 2020 by ArnePeirs (talk | contribs) (Add doc)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

Links to [1]. Although the first and second parameter have a default value they are only to avoid invalid links. Uses the API documented in Kerbal Maps: Web maps of all bodies. thread by saik0.

#/Name Optional Description Default
1 No Latitude. Positive is north, negative is south.
2 No Longitude. Positive is east, negative is west.
3 Yes Name of the celestial body. Kerbin
text Yes Link text shown. If set to C it'll show the coordinate using {{Infobox/Location/Coordinate}}. Map
m Yes Text for the marker. If set to X it won't show a marker at all. Needs to be a URL encoded string. Pin
o Yes Comma separated overlays; possible values are: spacecenters, anomalies, poi. Not set/Empty text
z Yes Zoom level from 0 to 5 or fit. 5 if {{{m}}} is set to X