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|title={{{name}}}}}
+
{{Infobox/Header|title={{{name}}}|subtitle={{{subheading}}}}}
 
{{Infobox/Illustration|file=[[File:{{{photo}}}]]|caption={{{caption}}}}}
 
{{Infobox/Illustration|file=[[File:{{{photo}}}]]|caption={{{caption}}}}}
 
{{Infobox/SectionHeader|section=Orbital Parameters}}
 
{{Infobox/SectionHeader|section=Orbital Parameters}}

Revision as of 17:10, 24 October 2022



[name]
{{{subheading}}}
KP dark.png
{{{caption}}}
Orbital Parameters
Apoapsis {{{apoapsis}}}
Periapsis {{{periapsis}}}
Semi-major axis [semi-major axis]
Orbital eccentricity {{{orbital_eccentricity}}}
Orbital period (sidereal) {{{orbital_period_sidereal}}}
Average orbital speed {{{average_orbital_speed}}}
Mean anomaly {{{mean_anomaly}}}
Inclination {{{inclination}}}
Satellites {{{satellites}}}



Specifications

Generic floating infobox.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the celestial body.

Default
Infobox
Stringrequired
Photographphoto

A photograph of the celestial body.

Fileoptional
Captioncaption

A short descriptive text for the illustration.

Stringoptional
orbital_parametersorbital_parameters

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