Difference between revisions of "Template:Kerbalmaps"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+fix which allows lat/long outside of [-180;180];)
m (!floating point modulo;)
Line 1: Line 1:
<includeonly>[http://www.kerbalmaps.com/?body={{{3|Kerbin}}}&loc={{#expr: {{{1|0}}} mod 180}},{{#expr: {{{2|0}}} mod 180}} {{{text|Map}}}]</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.
+
<includeonly>[http://www.kerbalmaps.com/?body={{{3|Kerbin}}}&loc={{#expr: {{{1|0}}} fmod 180}},{{#expr: {{{2|0}}} fmod 180}} {{{text|Map}}}]</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.
 
{{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.}}

Revision as of 10:03, 8 November 2013

Links to http://www.kerbalmaps.com. Although the first and second parameter have a default value they are only to avoid invalid links. Template:Parameter Table