Difference between revisions of "Template:Infobox/Location"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+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}}}&#8239;m}}
 
{{Infobox/Line|{{lang|en=Altitude|cs=Nadmořská výška|de=Höhe|pl=Wysokość}}|{{{altitude}}}&#8239;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>&lt;references group="Note" /&gt;</tt>.|3=Not set}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 17:04, 19 August 2013

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

Template:Parameter Table