Difference between revisions of "Template:Infobox/Location"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (-refbody; *mention Body/Place data templates; !strip language code from link text;)
Line 2: Line 2:
 
|file={{{file|}}}
 
|file={{{file|}}}
 
|lines={{if||{{{at|}}}{{{body|}}}|
 
|lines={{if||{{{at|}}}{{{body|}}}|
{{Infobox/Line|{{lang|en=Location}}|[[File:{{Body data|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at}}}|body}}}}|file}}|20px]] {{Body data/full name|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at}}}|body}}}}}}|{{#if: {{{at|}}}|[[File:{{Place data|{{{at}}}|image|Image needed.svg}}|20px]] [[{{{at}}}{{if lang}}|{{{at}}}]]}}}}}}
+
{{Infobox/Line|{{lang|en=Location|fr=Emplacement|de=Lokalisierung|es=Localización|nl=Lokalisatie|}}|[[File:{{Body data|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at}}}|body}}}}|file}}|20px]] {{Body data/full name|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at}}}|body}}}}}}|{{#if: {{{at|}}}|[[File:{{Place data|{{{at}}}|image|Image needed.svg}}|20px]] [[{{{at}}}{{if lang}}|{{{at}}}]]}}}}}}
 
{{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: {{{body|}}}|{{{body|}}}|{{Place data|{{{at|}}}|body}}}}}} {{#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: {{{body|}}}|{{{body|}}}|{{Place data|{{{at|}}}|body}}}}}} {{#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}}

Revision as of 14:45, 1 August 2014

Infobox
Infobox
Coordinates
Map
Unknown° N
Unknown° E
Altitude {{{altitude}}} m
Since version Unknown
An infobox for general locations, including easter eggs.

Template:Parameter Table