Difference between revisions of "Template:Infobox planetary system"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Update from sandbox (parameter numbering, allow wrap, nowraps))
imported>Frietjes
(renumber)
Line 8: Line 8:
 
| labelstyle = padding:0.2em 0.5em<!--(to keep longer labels distinct from following data)--> 0 0.1em;line-height:1.2em; <!--(modified {{longitem}})-->
 
| labelstyle = padding:0.2em 0.5em<!--(to keep longer labels distinct from following data)--> 0 0.1em;line-height:1.2em; <!--(modified {{longitem}})-->
  
| label2 = Age
+
| label1 = Age
data2 = {{{age|}}}
+
data1 = {{{age|}}}
  
| label4 = Location
+
| label2 = Location
data4 = {{{location|}}}
+
data2 = {{{location|}}}
  
| label6 = [[Right ascension|{{allow wrap|Right ascension}}]]
+
| label3 = [[Right ascension|{{allow wrap|Right ascension}}]]
data6 = {{{ascension|}}}
+
data3 = {{{ascension|}}}
  
| label8 = [[Declination]]
+
| label4 = [[Declination]]
data8 = {{{declination|}}}
+
data4 = {{{declination|}}}
  
| label10 = System mass
+
| label5  = System mass
data10 = {{{system_mass|}}}
+
data5  = {{{system_mass|}}}
  
| label12 = Nearest star
+
| label6  = Nearest star
data12 = {{{neareststar|}}}
+
data6  = {{{neareststar|}}}
  
| label14 = {{nowrap|Nearest known}} {{nowrap|[[planetary system]]}}
+
| label7  = {{nowrap|Nearest known}} {{nowrap|[[planetary system]]}}
data14 = {{{nearestplanetary|}}}
+
data7  = {{{nearestplanetary|}}}
  
 
<!------------------ Planetary system --------------------->
 
<!------------------ Planetary system --------------------->
| class20 = navbox-abovebelow
+
| class8  = navbox-abovebelow
| header20 = {{#if:{{{semimajoraxis|}}}{{{protoplanetarydisc|}}}{{{Kuiper_cliff|}}}{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}} |Planetary system}}
+
| header8 = {{#if:{{{semimajoraxis|}}}{{{protoplanetarydisc|}}}{{{Kuiper_cliff|}}}{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}} |Planetary system}}
  
| label22 = {{nowrap|Semi-major axis}} of outer&nbsp;{{#if:{{{noknown_planets|}}}||known&nbsp;}}planet {{#if:{{{outerplanetname|}}}|{{nobold|({{{outerplanetname}}})}}}}
+
| label9  = {{nowrap|Semi-major axis}} of outer&nbsp;{{#if:{{{noknown_planets|}}}||known&nbsp;}}planet {{#if:{{{outerplanetname|}}}|{{nobold|({{{outerplanetname}}})}}}}
data22 = {{{semimajoraxis|}}}
+
data9  = {{{semimajoraxis|}}}
  
| label24 = [[Protoplanetary disk|{{allow wrap|Proto-planetary disc}}]]&nbsp;size
+
| label10 = [[Protoplanetary disk|{{allow wrap|Proto-planetary disc}}]]&nbsp;size
data24 = {{{protoplanetarydisc|}}}
+
data10 = {{{protoplanetarydisc|}}}
  
| label26 = {{nowrap|Distance to [[Kuiper belt#"Kuiper cliff"|Kuiper cliff]]}}
+
| label11 = {{nowrap|Distance to [[Kuiper belt#"Kuiper cliff"|Kuiper cliff]]}}
data26 = {{{Kuiper_cliff|}}}
+
data11 = {{{Kuiper_cliff|}}}
  
 
<!------------Populations-------------->
 
<!------------Populations-------------->
| header30 = {{#if:{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}}
+
| header12 = {{#if:{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}}
 
               | <div style="text-align:center;padding-bottom:0.15em;border-bottom:1px solid #ccf;">Populations</div>
 
               | <div style="text-align:center;padding-bottom:0.15em;border-bottom:1px solid #ccf;">Populations</div>
 
             }}
 
             }}
  
| label32 = {{#if:{{{noknown_stars|}}} |Stars |Known stars}}
+
| label13 = {{#if:{{{noknown_stars|}}} |Stars |Known stars}}
data32 = {{{stars|}}}
+
data13 = {{{stars|}}}
  
| label34 = {{#if:{{{noknown_planets|}}} |Planets |Known planets}}
+
| label14 = {{#if:{{{noknown_planets|}}} |Planets |Known planets}}
data34 = {{{planets|}}}
+
data14 = {{{planets|}}}
  
| label36 = Known [[Dwarf planet|{{allow wrap|dwarf planets}}]]
+
| label15 = Known [[Dwarf planet|{{allow wrap|dwarf planets}}]]
data36 = {{{dwarfplanets|}}}
+
data15 = {{{dwarfplanets|}}}
  
| label38 = Known [[Natural satellite|{{allow wrap|natural satellites}}]]
+
| label16 = Known [[Natural satellite|{{allow wrap|natural satellites}}]]
data38 = {{{satellites|}}}
+
data16 = {{{satellites|}}}
  
| label40 = Known [[Minor planet|{{allow wrap|minor planets}}]]
+
| label17 = Known [[Minor planet|{{allow wrap|minor planets}}]]
data40 = {{{minorplanets|}}}
+
data17 = {{{minorplanets|}}}
  
| label42 = Known [[comet]]s
+
| label18 = Known [[comet]]s
data42 = {{{comets|}}}
+
data18 = {{{comets|}}}
  
| label44 = Identified [[{{{roundsatlink|Natural satellite#Shape}}}|{{allow wrap|rounded satellites}}]]
+
| label19 = Identified [[{{{roundsatlink|Natural satellite#Shape}}}|{{allow wrap|rounded satellites}}]]
data44 = {{{roundsat|}}}
+
data19 = {{{roundsat|}}}
  
 
<!------------- Orbit about Galactic Center --------------->
 
<!------------- Orbit about Galactic Center --------------->
| class50 = navbox-abovebelow
+
| class20 = navbox-abovebelow
| header50 = {{#if:{{{inclination|}}}{{{galacticcenter|}}}{{{orbitalspeed|}}}{{{orbitalperiod|}}} |{{nowrap|Orbit about [[Galactic Center]]}} }}
+
| header20 = {{#if:{{{inclination|}}}{{{galacticcenter|}}}{{{orbitalspeed|}}}{{{orbitalperiod|}}} |{{nowrap|Orbit about [[Galactic Center]]}} }}
  
| label52 = {{nowrap|[[Invariable plane|Invariable]]-to-}}[[Galactic plane|{{allow wrap|galactic plane}}]] inclination
+
| label21 = {{nowrap|[[Invariable plane|Invariable]]-to-}}[[Galactic plane|{{allow wrap|galactic plane}}]] inclination
data52 = {{{inclination|}}}
+
data21 = {{{inclination|}}}
  
| label54 = Distance&nbsp;to Galactic Center
+
| label22 = Distance&nbsp;to Galactic Center
data54 = {{{galacticcenter|}}}
+
data22 = {{{galacticcenter|}}}
  
| label56 = Orbital speed
+
| label23 = Orbital speed
data56 = {{{orbitalspeed|}}}
+
data23 = {{{orbitalspeed|}}}
  
| label58 = Orbital period
+
| label24 = Orbital period
data58 = {{{orbitalperiod|}}}
+
data24 = {{{orbitalperiod|}}}
  
 
<!-------------------- Star-related ----------------------->
 
<!-------------------- Star-related ----------------------->
| class60 = navbox-abovebelow
+
| class25 = navbox-abovebelow
| header60 = {{#if:{{{spectral|}}}{{{variable|}}}{{{frostline|}}}{{{heliopause|}}}{{{hillsphere|}}} |Star-related properties}}
+
| header25 = {{#if:{{{spectral|}}}{{{variable|}}}{{{frostline|}}}{{{heliopause|}}}{{{hillsphere|}}} |Star-related properties}}
  
| label62 = [[Stellar classification|Spectral type]]
+
| label26 = [[Stellar classification|Spectral type]]
data62 = {{{spectral|}}}
+
data26 = {{{spectral|}}}
  
| label64 = [[Variable star|Variable type]]
+
| label27 = [[Variable star|Variable type]]
data64 = {{{variable|}}}
+
data27 = {{{variable|}}}
  
| label66 = [[Frost line (astrophysics)|Frost line]]
+
| label28 = [[Frost line (astrophysics)|Frost line]]
data66 = {{{frostline|}}}
+
data28 = {{{frostline|}}}
  
| label68 = {{nowrap|Distance to [[Heliopause (astronomy)|heliopause]]}}
+
| label29 = {{nowrap|Distance to [[Heliopause (astronomy)|heliopause]]}}
data68 = {{{heliopause|}}}
+
data29 = {{{heliopause|}}}
  
| label70 = [[Hill sphere]] radius
+
| label30 = [[Hill sphere]] radius
data70 = {{{hillsphere|}}}
+
data30 = {{{hillsphere|}}}
  
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Revision as of 17:43, 26 July 2014

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

Template documentation[view] [edit] [history] [purge]

Syntax

{{Infobox planetary system
| title = 
| image = 
| caption = 
| age = 
| location = 
| ascension = 
| declination = 
| system_mass = 
| neareststar = 
| nearestplanetary = 
| semimajoraxis = 
| proto-planetarydisc = 
| Kuiper_cliff = 
| stars = 
| planets = 
| dwarfplanets = 
| satellites = 
| minorplanets = 
| comets = 
| roundsat = 
| roundsatlink = 
| inclination = 
| galacticcenter = 
| orbitalspeed = 
| orbitalperiod = 
| spectral = 
| variable = 
| frostline = 
| heliopause = 
| hillsphere = 
| noknown_stars = 
| noknown_planets = 
| outerplanetname = 
}}

Notes

  • noknown_stars – If anything is in this field, then the word "known" will NOT precede "stars" in the "No. of stars" section.
  • noknown_planets – If anything is in this field, then the word "known" will NOT precede "planets" in the "No. of planets" and "Semi-major axis of outer planet" sections.
  • For info on using the Infobox in general, see {{Infobox}}

Example

Solar System
Planets2013.jpg
The Sun and planets of the Solar System. Sizes but not distances are to scale.
Age4.568 billion years
Location
System mass1.0014 Solar masses
Nearest star
Nearest known planetary systemAlpha Centauri system  (4.37 ly)
Planetary system
Semi-major axis of outer planet (Neptune)30.10 AU  (4.503 billion km)
Distance to Kuiper cliff50 AU
Populations
Stars1  (Sun)
Planets
{{{1}}}
Known [[Dwarf planet|
  1. REDIRECT Template:Wrap]]
Possibly several hundred;
five currently recognized by the IAU
Known [[Natural satellite|
  • REDIRECT Template:Wrap]]
  • 427
    Known [[Minor planet|
  • REDIRECT Template:Wrap]]
  • 638,836  (as of 2014-04-15)
    Known comets3,263  (as of 2014-04-15)
    Identified [[List of gravitationally rounded objects of the Solar System#Satellite planemos|
  • REDIRECT Template:Wrap]]
  • 19
    Orbit about Galactic Center
    Invariable-to-[[Galactic plane|
  • REDIRECT Template:Wrap]] inclination
  • 60.19°8  (ecliptic)
    Distance to Galactic Center27,000 ± 1,000 ly
    Orbital speed220 km/s
    Orbital period225–250 Myr
    Star-related properties
    Spectral typeG2V
    Frost line≈5 AU
    Distance to heliopause≈120 AU
    Hill sphere radius≈1–2 ly
    [[Category:Infobox templates|Template:Remove first word]]

    This example, from a version in Solar System with references removed, uses most of the available parameters.

    {{Infobox planetary system
    | title = Solar System
    | image = Planets2013.jpg
    | image_style = 300px
    | image_alt = A representative image of the Solar System with sizes but not distances to scale
    | caption = {{longitem|The [[Sun]] and [[List of gravitationally rounded objects of the Solar System#Planets|planets of the Solar System]]. Sizes but not distances are to scale.}}
    | age = 4.568 billion years
    | location = {{longitem|{{ublist|class=nowrap |[[Local Interstellar Cloud]], [[Local Bubble]], |[[Orion–Cygnus Arm]], [[Milky Way]]}}}}
    | system_mass = 1.0014 [[Solar mass]]es
    | neareststar = {{longitem|{{ublist|class=nowrap |[[Proxima Centauri]]{{nbsp|2}}{{smaller|(4.22 [[Light-year|ly]])}} |[[Alpha Centauri]] system {{smaller|(4.37 ly)}}}}}}
    | nearestplanetary = {{nowrap|Alpha Centauri system{{nbsp|2}}{{smaller|(4.37 ly)}}}}
    | semimajoraxis = {{nowrap|30.10 [[Astronomical unit|AU]]{{nbsp|2}}{{smaller|(4.503 billion km)}}}}
    | Kuiper_cliff = 50 AU
    | stars = 1{{nbsp|2}}{{smaller|([[Sun]])}}
    | noknown_stars = yes
    | planets = {{longitem|style=line-height:1.1em|<div style="font-size:smaller">{{hlist|8  ([[Mercury (planet)|Mercury]]|[[Venus]]|[[Earth]]|[[Mars]]|<br/>[[Jupiter]]|[[Saturn]]|[[Uranus]]|[[Neptune]])}} </div>}}
    | outerplanetname = [[Neptune]]
    | noknown_planets = yes
    | dwarfplanets = {{longitem|Possibly several hundred;<br/>five currently recognized by the [[International Astronomical Union|IAU]] {{smaller|{{hlist|([[Ceres (dwarf planet)|Ceres]]|[[Pluto]]|[[Haumea (dwarf planet)|Haumea]]|[[Makemake (dwarf planet)|Makemake]]|[[Eris (dwarf planet)|Eris]])}}}} }}
    | satellites = {{longitem|427 {{hlist|{{smaller|(170 planetary}} |{{smaller|257 [[minor planet]]ary)}} }} }}
    | minorplanets = 638,836{{nbsp|2}}{{smaller|(as of 2014-04-15)}}
    | comets = 3,263{{nbsp|2}}{{smaller|(as of 2014-04-15)}}
    | roundsat = 19
    | roundsatlink = List of gravitationally rounded objects of the Solar System#Satellite planemos
    | inclination = 60.19°8{{nbsp|2}}{{smaller|(ecliptic)}}
    | galacticcenter = 27,000 ± 1,000 ly
    | orbitalspeed = 220 km/s
    | orbitalperiod = 225–250 [[Myr]]
    | spectral = [[G-type main-sequence star|G2V]]
    | frostline = ≈5 AU
    | heliopause = ≈120 AU
    | hillsphere = ≈1–2 ly
    }}

    es:Plantilla:Ficha de sistema planetario