Difference between revisions of "Template:Infobox/Location"
From Kerbal Space Program Wiki
m (!closing of the conditional template;) |
m (*reworked the area/body parameter;) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
|file={{{file|}}} | |file={{{file|}}} | ||
− | |lines={{if||{{{ | + | |lines={{if||{{{at|}}}{{{body|}}}| |
− | {{Infobox/Line|{{lang|en=Location}}|[[File:{{BodyData|{{{body|{{{ | + | {{Infobox/Line|{{lang|en=Location}}|[[File:{{BodyData|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at}}}|body}}}}|file}}|20px]] {{BodyData/FullName|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at}}}|body}}}}}}|{{#if: {{{at|}}}|[[File:{{Place data|{{{at}}}|image|Image needed.svg}}|20px]] [[{{{at}}}{{if lang}}]]}}}}}} |
{{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}}}|{{{refbody|}}}}} {{#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}}}|{{{refbody|}}}}} {{#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 14: | Line 14: | ||
{{Parameter Table|name=text|parameters= | {{Parameter Table|name=text|parameters= | ||
{{Parameter Row|file|Shows an image of the location.|[[:File:Image needed.svg]]}} | {{Parameter Row|file|Shows an image of the location.|[[:File:Image needed.svg]]}} | ||
− | {{Parameter Row|body | + | {{Parameter Row|body|Body on which this location is. The parameter name <tt>refbody</tt> is '''deprecated'''!|Not set/Hidden}} |
− | {{Parameter Row| | + | {{Parameter Row|at|The place at which that location is. Currently only supports ''KSC''. Automatically sets the <tt>body</tt> parameter.|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 12:52, 1 August 2014
Infobox | ||
Coordinates Map |
Unknown° N | |
Unknown° E | ||
Altitude | {{{altitude}}} m | |
Since version | Unknown |