Difference between revisions of "Template:Infobox astro object/sandbox"
Jump to navigation
Jump to search
imported>Topbanana (Updating sandbox to match current template version) |
|||
| Line 1: | Line 1: | ||
| − | + | {{Infobox | |
| − | |||
| − | |||
| − | |||
|name=Infobox astro object | |name=Infobox astro object | ||
|above={{{name|<span style="color:red;"> "name" missing </span>}}} | |above={{{name|<span style="color:red;"> "name" missing </span>}}} | ||
| Line 27: | Line 24: | ||
|data6= {{{z|}}} | |data6= {{{z|}}} | ||
|label7= Distance | |label7= Distance | ||
| − | |data7= {{#if: {{{dist_ly|{{{dist_pc|}}}}}} | {{#if: {{{dist_ly|}}} | {{{dist_ly|}}} | {{#expr: | + | |data7= {{#if: {{{dist_ly|{{{dist_pc|}}}}}} | {{#if: {{{dist_ly|}}} | {{{dist_ly|}}} | {{#expr: {{{dist_pc|0}}}*3.26}} }} [[light year|ly]] ( {{#if: {{{dist_pc|}}} | {{{dist_pc|}}} | {{#expr: {{{dist_ly|0}}}/3.26}} }} [[parsec|pc]] ) }} |
<!-- visual appearance --> | <!-- visual appearance --> | ||
|label8= Apparent size <small title="in visual light">(V)</small> | |label8= Apparent size <small title="in visual light">(V)</small> | ||
| Line 53: | Line 50: | ||
|header80= {{#if:{{{names|}}}| Designations }} | |header80= {{#if:{{{names|}}}| Designations }} | ||
|data80={{{names|}}} | |data80={{{names|}}} | ||
| + | }}<noinclude> | ||
| + | {{documentation|content= | ||
| + | |||
| + | This template is for use on [[astronomical objects]] that do not have a specialized infobox template of their own. | ||
| + | |||
| + | ===Required parameters=== | ||
| + | * "name" — the designation of the object | ||
| + | * coordinates | ||
| + | ** "ra" — the parameter for [[right ascension]] | ||
| + | **: please use the {{tl|RA}} template to specify this | ||
| + | ** "dec" — the parameter for [[declination]] | ||
| + | **: please use the {{tl|DEC}} template to specify this | ||
| + | ** "epoch" — the parameter for [[astronomical epoch]] | ||
| + | **: common values are [[B1875.0]] , [[B1900.0]] , [[B1950.0]] , [[J2000.0]] ; please wikify this value, if possible | ||
| + | * "type" — the parameter for object type (put ''unknown'' or ''undefined'' if there is no type) | ||
| + | *: this value should be wikified, if possible | ||
| + | |||
| + | ===Optional parameters=== | ||
| + | * "constel" — the parameter for the [[constellation]] | ||
| + | *: use a comma separated list if there is more than one constellation, please wikify the list | ||
| + | * distance | ||
| + | ** "dist_pc" — the distance to the object, in [[parsec]]s | ||
| + | ** "dist_ly" — the distance to the object, in [[light year]]s | ||
| + | ** "z" — the cosmological redshift of the object, in unitless 'z' | ||
| + | * apparent characteristics - in visible light | ||
| + | ** "appsize" — the [[apparent size]] of the object (such as radius or diameter) | ||
| + | **: this should be given in [[angular size|angular unit]]s, such as milliarcseconds (mas) | ||
| + | ** "appmag" — the [[apparent magnitude]] of the object (brightness) | ||
| + | ** "appdim" — the [[apparent size|apparent dimensions]] of the object (a bivalue term, that gives the ''major diameter'' and ''minor diameter'') | ||
| + | **: this should be given in [[angular size|angular unit]]s, such as milliarcseconds (mas) | ||
| + | * "absmag" — the [[absolute magnitude]] of the object (luminosity) | ||
| + | * "size" — the "true size" of the object, a trivalue term, such as ''height x width x depth'' | ||
| + | *: this should be given in astronomical distance units, such as megaparsecs, or redshiftspace terms (such as ''km-s<sup>-1</sup>'') | ||
| + | * motion | ||
| + | ** "propmo" — the [[proper motion]] of the object, the movement of the object across the sphere of the sky, as a 2-D projection | ||
| + | **: this should be given in angular units per unit time, such as ''arcminutes per decade'' | ||
| + | ** "radvel" — the [[radial velocity]] of an object, the movement of the object towards or away from us | ||
| + | **: in the case of objects at cosmological distances, this value should be that that is not covered by the expansion of space | ||
| + | ** "pecmo" — the [[peculiar motion]] of an object, the velocity of an object in space, this is a vector value | ||
| + | **: for objects at cosmological distances, this value is that that is not covered by Hubble motion | ||
| + | |||
| + | * "notes" — place any notes about the object here, which deserve special notice in the infobox | ||
| + | * "names" — place all the popular designations for the object here | ||
}} | }} | ||
| + | |||
| + | [[Category:Astronomy infobox templates|{{PAGENAME}}]] | ||
| + | </noinclude> | ||
Revision as of 09:56, 23 March 2014
| "name" missing | |
|---|---|
| Type | "type" missing |
| Observation data (Epoch "epoch" missing ) | |
| Right ascension | "ra" missing |
| Declination | "dec" missing |
| See also: Astronomical object, List of astronomical objects | |
| 50px | This is the template sandbox page for Template:Infobox astro object (diff). See also the companion subpage for test cases. |
File:Test Template Info-Icon - Version (2).svg Template documentation
This template is for use on astronomical objects that do not have a specialized infobox template of their own.
Required parameters
- "name" — the designation of the object
- coordinates
- "ra" — the parameter for right ascension
- please use the {{RA}} template to specify this
- "dec" — the parameter for declination
- please use the {{DEC}} template to specify this
- "epoch" — the parameter for astronomical epoch
- "ra" — the parameter for right ascension
- "type" — the parameter for object type (put unknown or undefined if there is no type)
- this value should be wikified, if possible
Optional parameters
- "constel" — the parameter for the constellation
- use a comma separated list if there is more than one constellation, please wikify the list
- distance
- "dist_pc" — the distance to the object, in parsecs
- "dist_ly" — the distance to the object, in light years
- "z" — the cosmological redshift of the object, in unitless 'z'
- apparent characteristics - in visible light
- "appsize" — the apparent size of the object (such as radius or diameter)
- this should be given in angular units, such as milliarcseconds (mas)
- "appmag" — the apparent magnitude of the object (brightness)
- "appdim" — the apparent dimensions of the object (a bivalue term, that gives the major diameter and minor diameter)
- this should be given in angular units, such as milliarcseconds (mas)
- "appsize" — the apparent size of the object (such as radius or diameter)
- "absmag" — the absolute magnitude of the object (luminosity)
- "size" — the "true size" of the object, a trivalue term, such as height x width x depth
- this should be given in astronomical distance units, such as megaparsecs, or redshiftspace terms (such as km-s-1)
- motion
- "propmo" — the proper motion of the object, the movement of the object across the sphere of the sky, as a 2-D projection
- this should be given in angular units per unit time, such as arcminutes per decade
- "radvel" — the radial velocity of an object, the movement of the object towards or away from us
- in the case of objects at cosmological distances, this value should be that that is not covered by the expansion of space
- "pecmo" — the peculiar motion of an object, the velocity of an object in space, this is a vector value
- for objects at cosmological distances, this value is that that is not covered by Hubble motion
- "propmo" — the proper motion of the object, the movement of the object across the sphere of the sky, as a 2-D projection
- "notes" — place any notes about the object here, which deserve special notice in the infobox
- "names" — place all the popular designations for the object here
| The above documentation is transcluded from Template:Infobox astro object/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |