Template:OrbitboxPlanet: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
>Anserisa
No edit summary
>Anserisa
No edit summary
 
Line 5: Line 5:
|-
|-
| '''{{{exoplanet|...}}}'''
| '''{{{exoplanet|...}}}'''
| {{#if:{{{mass|}}}{{{mass_earth|}}}|{{#if:{{{mass|}}}|{{{mass|—}}}&nbsp;[[Jupiter mass|''M''<sub>J</sub>]]}}{{#if:{{{mass_earth|}}}|{{{mass_earth|—}}}&nbsp;[[Earth mass|''M''<sub>⊕</sub>]]}}|—}}
| {{#if:{{{mass|}}}{{{mass_earth|}}}|{{#if:{{{mass|}}}|{{{mass|—}}}&nbsp;''M''<sub>J</sub>}}{{#if:{{{mass_earth|}}}|{{{mass_earth|—}}}&nbsp;''M''<sub>⊕</sub>}}|—}}
| {{#if:{{{semimajor|}}}|{{{semimajor|—}}}|—}}
| {{#if:{{{semimajor|}}}|{{{semimajor|—}}}|—}}
| {{#if:{{{period|}}}|{{{period|—}}}|—}}
| {{#if:{{{period|}}}|{{{period|—}}}|—}}
| {{#if:{{{eccentricity|}}}|{{{eccentricity|—}}}|—}}
| {{#if:{{{eccentricity|}}}|{{{eccentricity|—}}}|—}}
| {{#if:{{{inclination|}}}|{{{inclination|—}}}[[degree (angle)|°]]|—}}
| {{#if:{{{inclination|}}}|{{{inclination|—}}}°|—}}
| {{#if:{{{radius|}}}{{{radius_earth|}}}|{{#if:{{{radius|}}}|{{{radius|—}}}&nbsp;[[Jupiter radius|''R''<sub>J</sub>]]}}{{#if:{{{radius_earth|}}}|{{{radius_earth|—}}}&nbsp;[[Earth radius|''R''<sub>⊕</sub>]]}}|—}}
| {{#if:{{{radius|}}}{{{radius_earth|}}}|{{#if:{{{radius|}}}|{{{radius|—}}}&nbsp;''R''<sub>J</sub>}}{{#if:{{{radius_earth|}}}|{{{radius_earth|—}}}&nbsp;''R''<sub>⊕</sub>}}|—}}
|-</onlyinclude>
|-</onlyinclude>
|}
|}

Latest revision as of 12:08, 18 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-->
| eccentricity = <!--Eccentricity of the planet-->
| inclination = <!-- Orbital inclination (to the line of sight) -->
}}

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