Template:Celestial Body: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
   
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
{{Infobox/Header|name={{{name}}}}}
+
{{Infobox/Header|title={{{name}}}}}
{{Infobox/Illustration|file={{{illustration}}}|caption={{{caption}}}}}
+
{{Infobox/Illustration|file=[[file={{{illustration}}}]]|caption={{{caption}}}}}
 
{{Infobox/SectionHeader|section=Orbital Characteristics}}
 
{{Infobox/SectionHeader|section=Orbital Characteristics}}
 
{{Infobox/Item|key=Semi-major axis|value={{{semi-major_axis}}}}}
 
{{Infobox/Item|key=Semi-major axis|value={{{semi-major_axis}}}}}

Revision as of 10:52, 24 October 2022



[name]

[[file={{{illustration}}}]]
{{{caption}}}
Orbital Characteristics
Semi-major axis [semi-major axis]



Specifications

Generic floating infobox.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the celestial body.

Default
Infobox
Stringrequired
Illustrationillustration

A photograph of the celestial body.

Fileoptional
Captioncaption

A short descriptive text for the illustration.

Stringoptional
orbital_characteristicsorbital_characteristics

A section for the orbital parameters and data of the celestial body.

Unknownoptional
semi-major_axissemi-major_axis

The semi-major axis of the celestial body in metres.

Unknownoptional
nofloatnofloat

Setting any value to this parameter will make the infobox stop floating to the right.

Unknownoptional