Difference between revisions of "Template:Infobox/Location"

From Kerbal Space Program Wiki
Jump to: navigation, search
(*generic refbody display; *it's body not planet;)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|file={{{file|}}}
 
|file={{{file|}}}
|lines=
+
|lines={{if||{{{refbody|}}}|
{{Infobox/Line|{{lang|en=Reference Planet|fr=Planète de référence|ru=планета|es=Planeta|it=Pianeta|pl=Planeta}}|{{Min/{{{refbody}}}}}}}
+
{{Infobox/Line|{{lang|en=Reference body|fr=Planète de référence|de=Referenz­himmels­körper}}|[[File:{{BodyData|{{{refbody}}}|file}}|20px]] {{BodyData/FullName|{{{refbody}}}}}}}}}
 
{{Infobox/Line|{{lang|en=Coordinates|fr=Coordonnées|cs=Souřadnice|de=Koordinaten|pl=Współrzędne|ru=Координаты|hu=Koordináták}}<br>{{Kerbalmaps|{{{latitude|0}}}|{{{longitude|0}}}}} {{#if: {{{coord note|}}}|{{#tag:ref|{{{coord note}}}|group=Note|name=coord}}}}
 
{{Infobox/Line|{{lang|en=Coordinates|fr=Coordonnées|cs=Souřadnice|de=Koordinaten|pl=Współrzędne|ru=Координаты|hu=Koordináták}}<br>{{Kerbalmaps|{{{latitude|0}}}|{{{longitude|0}}}}} {{#if: {{{coord note|}}}|{{#tag:ref|{{{coord note}}}|group=Note|name=coord}}}}
 
|2={{Infobox/Location/Coordinate|{{{latitude|}}}|N|S}}
 
|2={{Infobox/Location/Coordinate|{{{latitude|}}}|N|S}}
Line 13: Line 13:
  
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=
{{Parameter Row|file|Shows an image of the location.|[[:File:Image-needed.png]]}}
+
{{Parameter Row|file|Shows an image of the location.|[[:File:Image needed.svg]]}}
 +
{{Parameter Row|refbody|Reference body on which this location is.|Not set/Hidden}}
 
{{Parameter Row|latitude|Latitude of the position. Positive is north, negative is south.}}
 
{{Parameter Row|latitude|Latitude of the position. Positive is north, negative is south.}}
 
{{Parameter Row|longitude|Longitude of the position. Positive is east, negative is west.}}
 
{{Parameter Row|longitude|Longitude of the position. Positive is east, negative is west.}}

Revision as of 11:59, 1 August 2014

Infobox
Infobox
Coordinates
Map
Unknown° N
Unknown° E
Altitude {{{altitude}}} m
Since version Unknown

Template:Parameter Table