Template:OrbitboxPlanet: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
>Anserisa
No edit summary
>Anserisa
No edit summary
Line 8: Line 8:
| {{#if:{{{semimajor|}}}|{{{semimajor|—}}}|—}}
| {{#if:{{{semimajor|}}}|{{{semimajor|—}}}|—}}
| {{#if:{{{period|}}}|{{{period|—}}}|—}}
| {{#if:{{{period|}}}|{{{period|—}}}|—}}
| {{#if:{{{eccentricity|}}}|{{{eccentricity|—}}}|—}}
| {{#if:{{{inclination|}}}|{{{inclination|—}}}[[degree (angle)|°]]|—}}
| {{#if:{{{radius|}}}{{{radius_earth|}}}|{{#if:{{{radius|}}}|{{{radius|—}}}&nbsp;[[Jupiter radius|''R''<sub>J</sub>]]}}{{#if:{{{radius_earth|}}}|{{{radius_earth|—}}}&nbsp;''R''<sub>⊕</sub>}}|—}}
| {{#if:{{{radius|}}}{{{radius_earth|}}}|{{#if:{{{radius|}}}|{{{radius|—}}}&nbsp;[[Jupiter radius|''R''<sub>J</sub>]]}}{{#if:{{{radius_earth|}}}|{{{radius_earth|—}}}&nbsp;''R''<sub>⊕</sub>}}|—}}
|-</onlyinclude>
|-</onlyinclude>
Line 27: Line 25:
| semimajor = <!--Semimajor axis (or distance from star) of the planet in AU-->
| semimajor = <!--Semimajor axis (or distance from star) of the planet in AU-->
| period = <!--Orbital period of the planet, in days-->
| period = <!--Orbital period of the planet, in days-->
| eccentricity = <!--Eccentricity of the planet-->
| inclination = <!-- Orbital inclination (to the line of sight) -->
}}</pre>
}}</pre>



Revision as of 17:18, 13 June 2020

Template:Astro talk Template:-

...

Template:-

Directory

This template is part of a group of templates that are used to display information about the orbital characteristics of an extrasolar planetary system. The list should always have {{OrbitboxPlanet begin}} as the first in the list, while the list should have {{Orbitbox end}} as the last in the list. This particular template can be used as follows:

{{OrbitboxPlanet
| exoplanet = <!--Name of the planet's letter (link is to be added)-->
| mass = <!--Mass of the planet, in Jupiter masses (can use mass_earth instead)-->
| mass_earth = <!--Mass of the planet, in Earth masses (can use mass instead)-->
| radius = <!-- Radius of the planet, in Jupiter radii -->
| radius_earth = <!-- Radius of the planet, in Earth radii -->
| semimajor = <!--Semimajor axis (or distance from star) of the planet in AU-->
| period = <!--Orbital period of the planet, in days-->
}}

The following templates are used together and (excluding the beginning and end) can be used multiple times in the same list as listed below. Template:Orbitboxes

See also