Template:Celestial Body: Difference between revisions
Jump to navigation
Jump to search
(Draft) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
| + | <templatestyles src="Nation/styles.css" /> |
||
| ⚫ | |||
| + | |||
| − | {{Infobox/begin|nofloat={{{nofloat}}}}} |
||
| ⚫ | |||
{{Infobox/Header|name={{{name}}}}} |
{{Infobox/Header|name={{{name}}}}} |
||
{{Infobox/Illustration|file={{{illustration}}}|caption={{{caption}}}}} |
{{Infobox/Illustration|file={{{illustration}}}|caption={{{caption}}}}} |
||
| − | {{Infobox/SectionHeader|section= |
+ | {{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}}}}} |
||
| − | {{Infobox/end}} |
+ | {{Infobox/end}}</includeonly> |
| + | |||
| − | <nowiki /></includeonly> |
||
<noinclude> |
<noinclude> |
||
| + | {{Celestial Body |
||
| − | {{Infobox|nofloat=true}} |
||
| + | | name=[name] |
||
| + | | photo=KP_dark.png|photo_desc=[photo_desc] |
||
| + | | semi-major_axis=[semi-major axis] |
||
| + | }} |
||
| + | |||
{{clr}} |
{{clr}} |
||
| Line 32: | Line 38: | ||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
| − | " |
+ | "semi-major_axis": { |
"description": "The semi-major axis of the celestial body in metres." |
"description": "The semi-major axis of the celestial body in metres." |
||
}, |
}, |
||
| Line 49: | Line 55: | ||
"caption", |
"caption", |
||
"orbital_characteristics", |
"orbital_characteristics", |
||
| − | " |
+ | "semi-major_axis", |
"nofloat" |
"nofloat" |
||
] |
] |
||
Revision as of 10:38, 24 October 2022
| {{{illustration}}} | |||||
| {{{caption}}} | |||||
| Orbital Characteristics | |||||
|---|---|---|---|---|---|
| Semi-major axis | {{{semi_major_axis}}} | ||||
Specifications
Generic floating infobox.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of the celestial body.
| String | required |
| Illustration | illustration | A photograph of the celestial body. | File | optional |
| Caption | caption | A short descriptive text for the illustration. | String | optional |
| orbital_characteristics | orbital_characteristics | A section for the orbital parameters and data of the celestial body. | Unknown | optional |
| semi-major_axis | semi-major_axis | The semi-major axis of the celestial body in metres. | Unknown | optional |
| nofloat | nofloat | Setting any value to this parameter will make the infobox stop floating to the right. | Unknown | optional |