Difference between revisions of "Template:Infobox/Location"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*corrected south/north;)
Line 5: Line 5:
 
|-
 
|-
 
| Coordinates
 
| Coordinates
| {{#if: {{{latitude|}}}|{{#expr: abs {{{latitude}}} round 4}}°&#8239;{{#ifeq: {{{latitude}}} < 0|W|E}}|{{{latitude}}}}}
+
| {{#if: {{{latitude|}}}|{{#expr: abs {{{latitude}}} round 4}}°&#8239;{{#ifexpr: {{{latitude}}} < 0|S|N}}|{{{latitude}}}}}
| {{#if: {{{longitude|}}}|{{#expr: abs {{{longitude}}} round 4}}°&#8239;{{#ifeq: {{{longitude}}} < 0|W|E}}|{{{longitude}}}}}
+
| {{#if: {{{longitude|}}}|{{#expr: abs {{{longitude}}} round 4}}°&#8239;{{#ifexpr: {{{longitude}}} < 0|W|E}}|{{{longitude}}}}}
 
|-
 
|-
 
| Altitude
 
| Altitude

Revision as of 15:10, 5 April 2013

Infobox/Location
180px
Coordinates {{{latitude}}} {{{longitude}}}
Altitude {{{altitude}}} m
Since Version  ??