Difference between revisions of "Template:Kerbalmaps"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*more specific category; !allow parameter 3 set to be empty (and not only "not set");)
Line 1: Line 1:
<includeonly>[http://www.kerbalmaps.com/?body={{{3|Kerbin}}}{{#if: {{{o|}}}|&overlays={{{o}}}}}&{{#ifeq: {{{m|}}}|X|center|loc}}={{#expr: {{{1|0}}} fmod 180}},{{#expr: {{{2|0}}} fmod 180}}{{Booland|{{{m|}}}|{{#ifeq: {{{m|}}}|X||1}}|,{{{m}}}}}{{#if: {{{z|}}}|&zoom={{{z}}}|{{#ifeq: {{{m|}}}|X|&zoom=5}}}} {{{text|{{lang|en=Map|fr=Carte|pl=Mapa|it=Mappa|es=Mapa|nl=Kaart|ru=карта|de=Karte}}}}}]</includeonly><noinclude>Links to [http://www.kerbalmaps.com http://www.kerbalmaps.com]. Although the first and second parameter have a default value they are only to avoid invalid links. Uses the API documented in [[thread:25148|Kerbal Maps: Web maps of all bodies.]] thread by ''saik0''.
+
<includeonly>[http://www.kerbalmaps.com/?body={{#if: {{{3|}}}|{{{3}}}|Kerbin}}{{#if: {{{o|}}}|&overlays={{{o}}}}}&{{#ifeq: {{{m|}}}|X|center|loc}}={{#expr: {{{1|0}}} fmod 180}},{{#expr: {{{2|0}}} fmod 180}}{{Booland|{{{m|}}}|{{#ifeq: {{{m|}}}|X||1}}|,{{{m}}}}}{{#if: {{{z|}}}|&zoom={{{z}}}|{{#ifeq: {{{m|}}}|X|&zoom=5}}}} {{{text|{{lang|en=Map|fr=Carte|pl=Mapa|it=Mappa|es=Mapa|nl=Kaart|ru=карта|de=Karte}}}}}]</includeonly><noinclude>Links to [http://www.kerbalmaps.com http://www.kerbalmaps.com]. Although the first and second parameter have a default value they are only to avoid invalid links. Uses the API documented in [[thread:25148|Kerbal Maps: Web maps of all bodies.]] thread by ''saik0''.
 
{{Parameter Table|name=both|parameters=
 
{{Parameter Table|name=both|parameters=
 
{{Parameter Row|1|Latitude. Positive is north, negative is south.}}
 
{{Parameter Row|1|Latitude. Positive is north, negative is south.}}
Line 10: Line 10:
 
}}
 
}}
  
[[Category:Templates]]</noinclude>
+
[[Category:Metatemplates]]</noinclude>

Revision as of 12:15, 1 August 2014

Links to http://www.kerbalmaps.com. 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. Template:Parameter Table