Difference between revisions of "Template:Kerbalmaps/doc"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Add doc)
 
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
Links to [https://kerbal-maps.finitemonkeys.org]. Although the first and second parameter have a default value they are only to avoid invalid links. Uses the API documented in [[thread:23154|Kerbal Maps: Web maps of all bodies.]] thread by ''saik0''.
+
Links to [https://kerbal-maps.finitemonkeys.org Kerbal Maps]. Although the first and second parameter have a default value they are only to avoid invalid links. Uses the API documented in {{thread|23154|Kerbal Maps: Web maps of all bodies.}} thread by ''saik0''.
  
 
{{Parameter table|name=both|parameters=
 
{{Parameter table|name=both|parameters=

Latest revision as of 21:38, 5 February 2020

Usage

Links to Kerbal Maps. 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