Difference between revisions of "Template:Kerbalmaps"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<includeonly>[http://www.kerbalmaps.com/?body={{{3|Kerbin}}}&loc={{{1|0}}},{{{2|0}}} {{{text|Map}}}]</includeonly><noinclude>Links to [http://www.kerbalmaps.com http://www.ker...")
 
m (+fix which allows lat/long outside of [-180;180];)
Line 1: Line 1:
<includeonly>[http://www.kerbalmaps.com/?body={{{3|Kerbin}}}&loc={{{1|0}}},{{{2|0}}} {{{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}}} 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.
 
{{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:00, 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