Template:Infobox celestial body: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
Adding more data
Tag: 2017 source edit
Implementing some template data
Tag: 2017 source edit
Line 1: Line 1:
<noinclude>
<noinclude>
<templatedata>
{
"params": {
"type": {
"label": "CB Type",
"description": "What kind of celestial body is this?",
"example": "Planet",
"type": "string",
"suggestedvalues": [
"Planet",
"Moon",
"Star"
],
"required": true
},
"subtype": {
"label": "CB Subtype",
"description": "What sub-type is this CB? ",
"example": "Terrestrial",
"type": "string",
"suggestedvalues": [
"Terrestrial",
"Gas giant",
"Oceanic",
"Frozen",
"K-type"
],
"required": true
},
"parent": {
"label": "Parent Body",
"description": "What body does this one orbit?",
"example": "Kerbol",
"type": "string",
"suggestedvalues": [
"Kerbol",
"Eve",
"Kerbin",
"Duna",
"Jool"
],
"suggested": true
},
"system": {
"label": "Star System",
"description": "What star system does this CB belong to?",
"example": "Kerbolar",
"type": "string",
"suggestedvalues": [
"Kerbolar",
"Deb Deb"
],
"required": true
},
"radius": {
"label": "Radius",
"description": "The equatorial radius of the body.",
"type": "string",
"required": true
}
}
}
</templatedata>


{{Infobox  
{{Infobox  
Line 15: Line 78:
| label2  = Type
| label2  = Type
|  data2  = #
|  data2  = #
| label3  = Parent body
| label3  = Sub-type
|  data3  = #
|  data3  = #
| label4  = Star system
| label4  = Parent body
|  data4  = #
|  data4  = #
| label5  = Surface
| label5  = Star system
|  data5  = test
|  data5  = #
 


| header20 = Physical Characteristics
| header20 = Physical Characteristics
Line 31: Line 95:
|  data23  = #
|  data23  = #
| label24  = Mass
| label24  = Mass
|  data24 = #
|  data24   = #
| label25  = Axial tilt
| label25  = Axial tilt
|  data25 = #
|  data25   = #


| header40 = Orbital Characteristics
| header40 = Orbital Characteristics
Line 44: Line 108:
|  data43  = #
|  data43  = #
| label44  = Eccentricity
| label44  = Eccentricity
|  data44 = #
|  data44   = #
| label45  = Inclination
| label45  = Inclination
|  data45 = #
|  data45   = #


| header60 = Atmospheric Characteristics
| header60 = Atmospheric Characteristics

Revision as of 04:34, 1 October 2024

No description.

Template parameters

ParameterDescriptionTypeStatus
CB Typetype

What kind of celestial body is this?

Suggested values
Planet Moon Star
Example
Planet
Stringrequired
CB Subtypesubtype

What sub-type is this CB?

Suggested values
Terrestrial Gas giant Oceanic Frozen K-type
Example
Terrestrial
Stringrequired
Parent Bodyparent

What body does this one orbit?

Suggested values
Kerbol Eve Kerbin Duna Jool
Example
Kerbol
Stringsuggested
Star Systemsystem

What star system does this CB belong to?

Suggested values
Kerbolar Deb Deb
Example
Kerbolar
Stringrequired
Radiusradius

The equatorial radius of the body.

Stringrequired
Test box
Test caption
General Info
Type
Sub-type
Parent body
Star system
Physical Characteristics
Radius
Equatorial circumference
Surface area
Mass
Axial tilt
Orbital Characteristics
Inclination
Atmospheric Characteristics

[[Category:Infobox templates|Template:Remove first word]]