Difference between revisions of "Template:BodyBox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+automatic size determination;)
m (*renamed template;)
Line 11: Line 11:
 
|Pol
 
|Pol
 
|Bop=Moon
 
|Bop=Moon
|#default=Planet}}}}}|Star|S=125px|Planet|P=100px|Moon|M=75px|#default={{{size}}}}}]]<span class="planetlabel">[[{{{name}}}{{if lang}}|{{{caption|{{BodyData/Name|{{{name}}}}}}}}]]</span></includeonly>
+
|#default=Planet}}}}}|Star|S=125px|Planet|P=100px|Moon|M=75px|#default={{{size}}}}}]]<span class="planetlabel">[[{{{name}}}{{if lang}}|{{{caption|{{Body data/Name|{{{name}}}}}}}}]]</span></includeonly>
 
<noinclude>Creates a table entry for a “solar sytem table” like [[Kerbol System/Map]].
 
<noinclude>Creates a table entry for a “solar sytem table” like [[Kerbol System/Map]].
  
Line 22: Line 22:
 
* [[Moon|'''M'''oon]] (75 px)
 
* [[Moon|'''M'''oon]] (75 px)
 
* Any other value are used directly without any unit (e.g. <tt>42px</tt> or <tt>74em</tt>).|<tt>Star</tt> when {{{name}}} is Kerbol or Sun, Moon when it's a name of a Moon, Planet instead}}
 
* Any other value are used directly without any unit (e.g. <tt>42px</tt> or <tt>74em</tt>).|<tt>Star</tt> when {{{name}}} is Kerbol or Sun, Moon when it's a name of a Moon, Planet instead}}
{{Parameter Row|caption|Displayed name, may be transcribed.|{{Tlx|BodyData/Name|{{{name}}}}}}}
+
{{Parameter Row|caption|Displayed name, may be transcribed.|{{Tlx|Body data/Name|{{{name}}}}}}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 13:44, 27 August 2014

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

Template:Parameter Table