Template:OrbitboxPlanet: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
>Anserisa
No edit summary
>Anserisa
No edit summary
 
(One intermediate revision by the same user not shown)
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;''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:{{{radius|}}}{{{radius_earth|}}}|{{#if:{{{radius|}}}|{{{radius|—}}}&nbsp;[[Jupiter radius|''R''<sub>J</sub>]]}}{{#if:{{{radius_earth|}}}|{{{radius_earth|—}}}&nbsp;''R''<sub>⊕</sub>}}|—}}
| {{#if:{{{eccentricity|}}}|{{{eccentricity|—}}}|—}}
| {{#if:{{{inclination|}}}|{{{inclination|—}}}°|—}}
| {{#if:{{{radius|}}}{{{radius_earth|}}}|{{#if:{{{radius|}}}|{{{radius|—}}}&nbsp;''R''<sub>J</sub>}}{{#if:{{{radius_earth|}}}|{{{radius_earth|—}}}&nbsp;''R''<sub>⊕</sub>}}|—}}
|-</onlyinclude>
|-</onlyinclude>
|}
|}
Line 25: Line 27:
| 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>



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