Difference between revisions of "Template:BodyBox"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*renamed template;)
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
Line 15: Line 15:
  
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=
{{Parameter Row|name|Name of the celestial body.}}
+
{{Parameter row|name|Name of the celestial body.}}
{{Parameter Row|image|Name of an image of the celestial body.|<tt>'''Tiny{{{name}}}.png'''</tt> if not set.}}
+
{{Parameter row|image|Name of an image of the celestial body.|<tt>'''Tiny{{{name}}}.png'''</tt> if not set.}}
{{Parameter Row|size|Size of the image. Available values:
+
{{Parameter row|size|Size of the image. Available values:
 
* '''S'''tar (125 px)
 
* '''S'''tar (125 px)
 
* [[Planet|'''P'''lanet]] (100 px)
 
* [[Planet|'''P'''lanet]] (100 px)
 
* [[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|Body data/Name|{{{name}}}}}}}
+
{{Parameter row|caption|Displayed name, may be transcribed.|{{Tlx|Body data/Name|{{{name}}}}}}}
 
}}
 
}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 20:48, 26 November 2014

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

Template:Parameter Table