Difference between revisions of "Template:LocalisationOn"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (from "localisation" to "location")
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="wikitable"
+
{{Infobox
|-
+
|file={{{file|none}}}
| {{lang|en=Localisation|fr=Emplacement|de=Lokalisierung|es=Localización|nl=Lokalisatie|}} || {{Min/{{{location}}}}} {{lang|en=on|fr=sur|es=en|de=auf|nl=op|pl=na}} {{Min/{{{body}}}}}
+
|lines={{Infobox/Line|{{lang|en=Location|de=Lokalisierung|es=Localización|fr=Emplacement|hu=Elhelyezkedés|ko=위치|nl=Lokalisatie|ru=Местоположение|tr=Konum}}|[[File:{{Body data|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at<noinclude>|KSC</noinclude>}}}|body}}}}|file}}|20px]]&nbsp;{{Body data/full name|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at<noinclude>|KSC</noinclude>}}}|body}}}}}}|{{#if: {{{at|<noinclude>KSC</noinclude>}}}|[[File:{{Place data|{{{at<noinclude>|KSC</noinclude>}}}|image|Image needed.svg}}|20px]]&nbsp;[[{{{at<noinclude>|KSC</noinclude>}}}{{if lang}}|{{{at<noinclude>|KSC</noinclude>}}}]]}}}}
|}
+
}}<noinclude>{{Box|The functionality of this template is in the already existing {{Tl|Infobox/Location}}.}}
 +
Minimalistic infobox for locations. See also {{tl|Infobox/Location}}.
 +
 
 +
Either one of the parameters <tt>body</tt> and <tt>at</tt> must be present.
 +
{{Parameter table|name=text|parameters=
 +
{{Parameter row|file|An image of the site|Not set/Hidden}}
 +
{{Parameter row|body|The [[celestial body]] this location is on. Uses {{Tl|Body data}}.}}
 +
{{Parameter row|at|Another “superlocation” this place is at. Uses {{Tl|Place data}}.}}
 +
}}
 +
 
 +
[[Category:Infobox templates]]</noinclude>

Latest revision as of 22:26, 11 January 2019

LocalisationOn
Location TinyKerbin.png Kerbin
TinyKSC.png KSC
The functionality of this template is in the already existing {{Infobox/Location}}.

Minimalistic infobox for locations. See also {{Infobox/Location}}.

Either one of the parameters body and at must be present.

Name Optional Description Default
file Yes An image of the site Not set/Hidden
body No The celestial body this location is on. Uses {{Body data}}.
at No Another “superlocation” this place is at. Uses {{Place data}}.