Difference between revisions of "Template:Infobox/Location"
From Kerbal Space Program Wiki
(*use new infobox;) |
(-uppercase parameters; +parameter table; +show coordinates in minutes and seconds;) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | |file={{{file| | + | |file={{{file|}}} |
|lines= | |lines= | ||
− | {{Infobox/Line| | + | {{Infobox/Line|Coordinates |
− | | {{ | + | | {{Infobox/Location/Coordinate|{{{latitude|}}}|N|S}} |
− | | | + | | {{Infobox/Location/Coordinate|{{{longitude|}}}|E|W}} |
}} | }} | ||
{{Infobox/Line|Altitude|{{{altitude}}} m}} | {{Infobox/Line|Altitude|{{{altitude}}} m}} | ||
− | {{Infobox/Line|Since version|{{{since|{{{ | + | {{Infobox/Line|Since version|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{Dict|Unknown}}}}}} |
}}<noinclude> | }}<noinclude> | ||
+ | |||
+ | {{Parameter Table|name=text|parameters= | ||
+ | {{Parameter Row|file|Shows an image of the location.|[[:File:Image-needed.png]]}} | ||
+ | {{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|altitude|Altitude above mean sea level of the location in meters.}} | ||
+ | {{Parameter Row|since|Since when is this location available.|<tt>Unknown</tt>}} | ||
+ | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |