Difference between revisions of "Template:LocalisationOn"
From Kerbal Space Program Wiki
(*rewritten to work like an infobox;) |
m (+file;) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | |file=none | + | |file={{{file|none}}} |
|lines={{Infobox/Line|{{lang|en=Location}}|[[File:{{Body data|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at<noinclude>|KSC</noinclude>}}}|body}}}}|file}}|20px]] {{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]] [[{{{at<noinclude>|KSC</noinclude>}}}{{if lang}}|{{{at<noinclude>|KSC</noinclude>}}}]]}}}} | |lines={{Infobox/Line|{{lang|en=Location}}|[[File:{{Body data|{{#if: {{{body|}}}|{{{body|}}}|{{Place data|{{{at<noinclude>|KSC</noinclude>}}}|body}}}}|file}}|20px]] {{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]] [[{{{at<noinclude>|KSC</noinclude>}}}{{if lang}}|{{{at<noinclude>|KSC</noinclude>}}}]]}}}} | ||
}}<noinclude>Minimalistic infobox for locations. See also {{tl|Infobox/Location}}. | }}<noinclude>Minimalistic infobox for locations. See also {{tl|Infobox/Location}}. | ||
− | Either one of the | + | Either one of the parameters <tt>body</tt> and <tt>at</tt> must be present. |
{{Parameter table|name=text|parameters= | {{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|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}}.}} | {{Parameter row|at|Another “superlocation” this place is at. Uses {{Tl|Place data}}.}} |
Revision as of 13:23, 1 August 2014
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}}. |