Difference between revisions of "Template:LocalisationOn"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
(*rewritten to work like an infobox;)
Line 1: Line 1:
{| class="wikitable"
+
{{Infobox
|-
+
|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}}|[[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>Minimalistic infobox for locations. See also {{tl|Infobox/Location}}.
 +
 
 +
Either one of the parameter must be present.
 +
{{Parameter table|name=text|parameters=
 +
{{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>

Revision as of 13:18, 1 August 2014

LocalisationOn
Location TinyKerbin.png Kerbin
TinyKSC.png KSC
Minimalistic infobox for locations. See also {{Infobox/Location}}.

Either one of the parameter must be present.

Name Optional Description Default
body No The celestial body this location is on. Uses {{Body data}}.
at No Another “superlocation” this place is at. Uses {{Place data}}.