Difference between revisions of "Template:BodyBox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!close caption parameter;)
(+cat; +example;)
Line 1: Line 1:
 
<includeonly>| class="planetbox" style="padding:10px" | [[File:{{{image|Tiny{{{name}}}.png}}}|link={{{name}}}{{if lang}}|{{#switch: {{{size|P}}}|Star|S=125px|Planet|P=100px|Moon|M=75px|#default={{{size}}}}}]]<span class="planetlabel">[[{{{name}}}{{if lang}}|{{{caption|{{BodyData/Name|{{{name}}}}}}}}]]</span></includeonly>
 
<includeonly>| class="planetbox" style="padding:10px" | [[File:{{{image|Tiny{{{name}}}.png}}}|link={{{name}}}{{if lang}}|{{#switch: {{{size|P}}}|Star|S=125px|Planet|P=100px|Moon|M=75px|#default={{{size}}}}}]]<span class="planetlabel">[[{{{name}}}{{if lang}}|{{{caption|{{BodyData/Name|{{{name}}}}}}}}]]</span></includeonly>
<noinclude>Creates a table entry for a “solar sytem table”.
+
<noinclude>Creates a table entry for a “solar sytem table” like [[Kerbol System/Map]].
  
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=
Line 11: Line 11:
 
* Any other value are used directly. (e.g. 42px or 74em)|<tt>P</tt>}}
 
* Any other value are used directly. (e.g. 42px or 74em)|<tt>P</tt>}}
 
{{ParameterRow|caption|Displayed name, may be transcribed.|{{Tlx|BodyData/Name|{{{name}}}}}}}
 
{{ParameterRow|caption|Displayed name, may be transcribed.|{{Tlx|BodyData/Name|{{{name}}}}}}}
}}</noinclude>
+
}}
 +
 
 +
[[Category:Templates|BodyBox]]</noinclude>

Revision as of 08:40, 13 June 2013

Creates a table entry for a “solar sytem table” like Kerbol System/Map.

Template:Parameter Table