Template:Celestial Body: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
 
{{Infobox/Header|title={{{name}}}}}
 
{{Infobox/Header|title={{{name}}}}}
 
{{Infobox/Illustration|file=[[File:{{{photo}}}]]|caption={{{caption}}}}}
 
{{Infobox/Illustration|file=[[File:{{{photo}}}]]|caption={{{caption}}}}}
{{Infobox/SectionHeader|section=Orbital Characteristics}}
+
{{Infobox/SectionHeader|section=Orbital Parameters}}
  +
{{Infobox/Item|key=Apoapsis|value={{{apoapsis}}}}}
  +
{{Infobox/Item|key=Periapsis|value={{{periapsis}}}}}
 
{{Infobox/Item|key=Semi-major axis|value={{{semi-major_axis}}}}}
 
{{Infobox/Item|key=Semi-major axis|value={{{semi-major_axis}}}}}
  +
{{Infobox/Item|key=Eccentricity|value={{{eccentricity}}}}}
  +
{{Infobox/Item|key=Orbital period (sidereal)|value={{{orbital_period_sidereal}}}}}
  +
{{Infobox/Item|key=Average orbital speed|value={{{average_orbital_speed}}}}}
  +
{{Infobox/Item|key=Mean anomaly|value={{{mean_anomaly}}}}}
  +
{{Infobox/Item|key=Inclination|value={{{inclination}}}}}
  +
{{Infobox/Item|key=Satellites|value={{{satellites}}}}}
  +
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
Line 44: Line 53:
 
"description": "Setting any value to this parameter will make the infobox stop floating to the right."
 
"description": "Setting any value to this parameter will make the infobox stop floating to the right."
 
},
 
},
"orbital_characteristics": {
+
"orbital_parameters": {
 
"description": "A section for the orbital parameters and data of the celestial body."
 
"description": "A section for the orbital parameters and data of the celestial body."
 
}
 
}
Line 54: Line 63:
 
"photo",
 
"photo",
 
"caption",
 
"caption",
  +
"orbital_parameters",
"orbital_characteristics",
 
 
"semi-major_axis",
 
"semi-major_axis",
 
"nofloat"
 
"nofloat"

Revision as of 15:16, 24 October 2022



[name]

KP dark.png
{{{caption}}}
Orbital Parameters
Apoapsis {{{apoapsis}}}
Periapsis {{{periapsis}}}
Semi-major axis [semi-major axis]
Eccentricity {{{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