Difference between revisions of "Template:Infobox/Location"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "{| border="0" style="padding-left: 10px; padding-right: 10px; float:right; width:200px; border: 1px solid #cccccc; background-color:#f0f0f0" ! colspan="2" | {{{Name|{{PAGENAME...")
 
Line 1: Line 1:
 
{| border="0" style="padding-left: 10px; padding-right: 10px; float:right; width:200px; border: 1px solid #cccccc; background-color:#f0f0f0"
 
{| border="0" style="padding-left: 10px; padding-right: 10px; float:right; width:200px; border: 1px solid #cccccc; background-color:#f0f0f0"
! colspan="2" | {{{Name|{{PAGENAME}}}}}
+
{{#ifeq: {{{Name|}}}|-||! colspan="3" {{!}} {{{Name|{{PAGENAME}}}}}}}
 +
{{#if: {{{File|<noinclude>Image-needed.png</noinclude>}}}|{{!}}-
 +
{{!}} colspan="3" style="text-align: center;" {{!}} [[File:{{{File|Image-needed.png}}}|180px]]}}
 
|-
 
|-
| colspan="2" style="text-align: center;" | [[File:{{{File|Image-needed.png}}}|180px|Part image]]
+
| Coordinates
 +
| {{#if: {{{latitude|}}}|{{#expr: abs {{{latitude}}} round 4}}°&#8239;{{#ifeq: {{{latitude}}} < 0|W|E}}|{{{latitude}}}}}
 +
| {{#if: {{{longitude|}}}|{{#expr: abs {{{longitude}}} round 4}}°&#8239;{{#ifeq: {{{longitude}}} < 0|W|E}}|{{{longitude}}}}}
 
|-
 
|-
| Coordinates || {{{Coordinates|??}}}
+
| Altitude
 +
| colspan="2" | {{{altitude}}}&#8239;m
 
|-
 
|-
| Since Version || {{{Since|??}}}
+
| Since Version
 +
| colspan="2" | {{{Since|??}}}
 
|}
 
|}

Revision as of 15:07, 5 April 2013

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