Difference between revisions of "Template:Infobox/Location"
From Kerbal Space Program Wiki
(+notes;) |
(+coordiates note;) |
||
Line 3: | Line 3: | ||
|lines= | |lines= | ||
{{Infobox/Line|{{lang|en=Coordinates|cs=Souřadnice|de=Koordinaten|pl=Współrzędne}} | {{Infobox/Line|{{lang|en=Coordinates|cs=Souřadnice|de=Koordinaten|pl=Współrzędne}} | ||
− | | {{Infobox/Location/Coordinate|{{{latitude|}}}|N|S}} | + | | {{Infobox/Location/Coordinate|{{{latitude|}}}|N|S}} {{#if: {{{coord note|}}}|<ref group="Note" name="coord">{{{coord note}}}</ref>}} |
− | | {{Infobox/Location/Coordinate|{{{longitude|}}}|E|W}} | + | | {{Infobox/Location/Coordinate|{{{longitude|}}}|E|W}} {{#if: {{{coord note|}}}|<ref group="Note" name="coord">{{{coord note}}}</ref>}} |
}} | }} | ||
{{Infobox/Line|{{lang|en=Altitude|cs=Nadmořská výška|de=Höhe|pl=Wysokość}}|{{{altitude}}} m}} | {{Infobox/Line|{{lang|en=Altitude|cs=Nadmořská výška|de=Höhe|pl=Wysokość}}|{{{altitude}}} m}} | ||
{{Infobox/Line|{{Dict|Since}}|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{Dict|Unknown}}}}}} | {{Infobox/Line|{{Dict|Since}}|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{Dict|Unknown}}}}}} | ||
− | |notes={{{notes|}}} | + | |notes={{{notes|{{#if: {{{coord note|}}}|<references group="Note" />}}}}} |
}}<noinclude> | }}<noinclude> | ||
Line 18: | Line 18: | ||
{{Parameter Row|since|Since when is this location available.|<tt>Unknown</tt>}} | {{Parameter Row|since|Since when is this location available.|<tt>Unknown</tt>}} | ||
{{Parameter Row|notes|Notes|Not set/Hidden}} | {{Parameter Row|notes|Notes|Not set/Hidden}} | ||
+ | {{Parameter Row|coord note|2=Note about the coordination. Automatically sets {{{notes}}} to <tt><references group="Note" /></tt>.|3=Not set}} | ||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |