Difference between revisions of "Template:Infobox planetary system"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (tweaked previous and amended label22 formatting)
imported>Erutuon
m (better to rely on the redirect; the anchor wasn't working)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|title = {{{title|}}}
+
| titlestyle = padding-bottom:0.15em;
|titlestyle = padding-bottom:0.15em;{{{titlestyle|}}}
+
| title = {{{title|}}}
 +
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}}
 +
| captionstyle = padding-bottom:0.15em;border-bottom:1px solid #ccf;
 +
| caption = {{{caption|}}}
  
|image = {{{image|}}}
+
| labelstyle = padding:0.2em 0.5em<!--(to keep longer labels distinct from following data)--> 0 0.1em;line-height:1.2em; <!--(modified {{longitem}})-->
|caption = {{{caption|}}}
 
|captionstyle = padding-bottom:0.15em;border-bottom:1px solid #ccf;{{{captionstyle|}}}
 
  
|labelstyle = padding:0.2em 0.5em<!--(to keep longer labels distinct from following data)--> 0 0.1em;line-height:1.2em; <!--(modified {{longitem}})-->
+
| label1  = Age
 +
|  data1  = {{{age|}}}
  
|label2  = Age
+
| label2  = Location
|data2   = {{{age|}}}
+
| data2 = {{{location|}}}
  
|label3  = Location
+
| label3  = [[Right ascension|{{allow wrap|Right ascension}}]]
|data3   = {{{location|}}}
+
| data3 = {{{ascension|}}}
  
|label4  = [[Right ascension]]
+
| label4  = [[Declination]]
|data4   = {{{ascension|}}}
+
| data4 = {{{declination|}}}
  
|label5  = [[Declination]]
+
| label5  = System mass
|data5   = {{{declination|}}}
+
| data5 = {{{system_mass|}}}
  
|label6  = System mass
+
| label6  = Nearest star
|data6   = {{{system_mass|}}}
+
| data6 = {{{neareststar|}}}
  
|label7  = Nearest star
+
| label7  = {{nowrap|Nearest known}} {{nowrap|[[planetary system]]}}
|data7   = {{{neareststar|}}}
+
| data7 = {{{nearestplanetary|}}}
  
|label8 = {{nowrap|Nearest known}} {{nowrap|[[planetary system]]}}
+
<!------------------ Planetary system --------------------->
|data8  = {{{nearestplanetary|}}}
+
| class8 = navbox-abovebelow
 +
| header8 = {{#if:{{{semimajoraxis|}}}{{{protoplanetarydisc|}}}{{{Kuiper_cliff|}}}{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}} |Planetary system}}
  
<!-------------------Planetary system---------------------->
+
| label9 = {{nowrap|Semi-major axis}} of outer&nbsp;{{#if:{{{noknown_planets|}}}||known&nbsp;}}planet {{#if:{{{outerplanetname|}}}|{{nobold|({{{outerplanetname}}})}}}}
|class9 = navbox-abovebelow
+
| data9  = {{{semimajoraxis|}}}
|header9 = {{#if:{{{semimajoraxis|}}}{{{protoplanetarydisc|}}}{{{Kuiper_cliff|}}}{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}}|Planetary system}}
 
  
|label10 = {{nowrap|Semi-major axis}} of outer&nbsp;{{#if:{{{noknown_planets|}}}||known&nbsp;}}planet {{#if:{{{outerplanetname|}}}|{{nobold|({{{outerplanetname}}})}}}}
+
| label10 = [[Protoplanetary disk|{{allow wrap|Proto-planetary disc}}]]&nbsp;size
|data10 = {{{semimajoraxis|}}}
+
| data10 = {{{protoplanetarydisc|}}}
  
|label11 = [[Protoplanetary disk|{{allow wrap|Proto-planetary disc}}]]&nbsp;size
+
| label11 = {{nowrap|Distance to [[Kuiper cliff]]}}
|data11 = {{{protoplanetarydisc|}}}
+
| data11 = {{{Kuiper_cliff|}}}
  
|label12 = Distance&nbsp;to [[Kuiper belt#"Kuiper cliff"|Kuiper cliff]]
+
<!------------Populations-------------->
|data12  = {{{Kuiper_cliff|}}}
+
| 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>
 +
            }}
  
|header13 = {{#if:{{{stars|}}}{{{planets|}}}{{{dwarfplanets|}}}{{{satellites|}}}{{{minorplanets|}}}{{{comets|}}}{{{roundsat|}}}
+
| label13 = {{#if:{{{noknown_stars|}}} |Stars |Known stars}}
            | <div style="text-align:center;padding-bottom:0.15em;border-bottom:1px solid #ccf;">Populations</div> }}
+
| data13 = {{{stars|}}}
  
|label14 = {{#if:{{{noknown_stars|}}} |Stars |Known stars}}
+
| label14 = {{#if:{{{noknown_planets|}}} |Planets |Known planets}}
|data14 = {{{stars|}}}
+
| data14 = {{{planets|}}}
  
|label15 = {{#if:{{{noknown_planets|}}} |Planets |Known planets}}
+
| label15 = Known [[Dwarf planet|{{allow wrap|dwarf planets}}]]
|data15 = {{{planets|}}}
+
| data15 = {{{dwarfplanets|}}}
  
|label16 = Known [[Dwarf planet|{{allow wrap|dwarf planets}}]]
+
| label16 = Known [[Natural satellite|{{allow wrap|natural satellites}}]]
|data16 = {{{dwarfplanets|}}}
+
| data16 = {{{satellites|}}}
  
|label17 = Known [[Natural satellite|{{allow wrap|natural satellites}}]]
+
| label17 = Known [[Minor planet|{{allow wrap|minor planets}}]]
|data17 = {{{satellites|}}}
+
| data17 = {{{minorplanets|}}}
  
|label18 = Known [[Minor planet|{{allow wrap|minor planets}}]]
+
| label18 = Known [[comet]]s
|data18 = {{{minorplanets|}}}
+
| data18 = {{{comets|}}}
  
|label19 = Known [[comet]]s
+
| label19 = Identified [[{{{roundsatlink|Natural satellite#Shape}}}|{{allow wrap|rounded satellites}}]]
|data19 = {{{comets|}}}
+
| data19 = {{{roundsat|}}}
  
|label20 = Identified [[{{{roundsatlink|Natural satellite#Shape}}}|{{allow wrap|rounded satellites}}]]
+
<!------------- Orbit about Galactic Center --------------->
|data20  = {{{roundsat|}}}
+
| class20 = navbox-abovebelow
 +
| header20 = {{#if:{{{inclination|}}}{{{galacticcenter|}}}{{{orbitalspeed|}}}{{{orbitalperiod|}}} |{{nowrap|Orbit about [[Galactic Center]]}} }}
  
<!--------------Orbit about Galactic Center---------------->
+
| label21 = {{nowrap|[[Invariable plane|Invariable]]-to-}}[[Galactic plane|{{allow wrap|galactic plane}}]] inclination
|class21  = navbox-abovebelow
+
| data21 = {{{inclination|}}}
|header21 = {{#if:{{{inclination|}}}{{{galacticcenter|}}}{{{orbitalspeed|}}}{{{orbitalperiod|}}} |{{nowrap|Orbit about [[Galactic Center]]}} }}
 
  
|label22 = {{nowrap|[[Invariable plane|Invariable]]-to-}}[[Galactic plane|{{allow wrap|galactic plane}}]] inclination
+
| label22 = Distance&nbsp;to Galactic Center
|data22 = {{{inclination|}}}
+
| data22 = {{{galacticcenter|}}}
  
|label23 = Distance&nbsp;to Galactic Center
+
| label23 = Orbital speed
|data23 = {{{galacticcenter|}}}
+
| data23 = {{{orbitalspeed|}}}
  
|label24 = Orbital speed
+
| label24 = Orbital period
|data24 = {{{orbitalspeed|}}}
+
| data24 = {{{orbitalperiod|}}}
  
|label25 = Orbital period
+
<!-------------------- Star-related ----------------------->
|data25  = {{{orbitalperiod|}}}
+
| class25 = navbox-abovebelow
 +
| header25 = {{#if:{{{spectral|}}}{{{variable|}}}{{{frostline|}}}{{{heliopause|}}}{{{hillsphere|}}} |Star-related properties}}
  
<!---------------------Star-related------------------------>
+
| label26 = [[Stellar classification|Spectral type]]
|class26  = navbox-abovebelow
+
| data26 = {{{spectral|}}}
|header26 = {{#if:{{{spectral|}}}{{{variable|}}}{{{frostline|}}}{{{heliopause|}}}{{{hillsphere|}}} |Star-related properties}}
 
  
|label27 = [[Stellar classification|Spectral type]]
+
| label27 = [[Variable star|Variable type]]
|data27 = {{{spectral|}}}
+
| data27 = {{{variable|}}}
  
|label28 = [[Variable star|Variable type]]
+
| label28 = [[Frost line (astrophysics)|Frost line]]
|data28 = {{{variable|}}}
+
| data28 = {{{frostline|}}}
  
|label29 = [[Frost line (astrophysics)|Frost line]]
+
| label29 = {{nowrap|Distance to [[Heliopause (astronomy)|heliopause]]}}
|data29 = {{{frostline|}}}
+
| data29 = {{{heliopause|}}}
  
|label30 = Distance&nbsp;to [[Heliopause (astronomy)|heliopause]]
+
| label30 = [[Hill sphere]] radius
|data30 = {{{heliopause|}}}
+
| data30 = {{{hillsphere|}}}
  
|label31 = [[Hill sphere]] radius
+
}}<noinclude>{{Documentation}}</noinclude>
|data31  = {{{hillsphere|}}}
 
 
 
}}<noinclude>
 
 
 
{{documentation}}
 
<!---Please add categories etc to the /doc subpage, not here!--->
 
</noinclude>
 

Latest revision as of 09:07, 13 March 2018

[[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
A representative image of the Solar System with sizes but not distances to scale
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