Difference between revisions of "Template:Infobox astro object/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Topbanana
(Updating sandbox to match current template version)
Line 1: Line 1:
<noinclude>
+
{{Infobox
{{Template sandbox notice}}
 
{{nobots}}
 
</noinclude>{{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: ({{{dist_pc|0}}}*3.26) round 4 }} }} [[light year|ly]] ( {{#if: {{{dist_pc|}}} | {{{dist_pc|}}} | {{#expr: ({{{dist_ly|0}}}/3.26) round 4 }} }} [[parsec|pc]] ) }}
+
|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&nbsp;<small title="in visual light">(V)</small>
 
|label8= Apparent size&nbsp;<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" &mdash; the designation of the object
 +
* coordinates
 +
** "ra" &mdash; the parameter for [[right ascension]]
 +
**: please use the {{tl|RA}} template to specify this
 +
** "dec" &mdash; the parameter for [[declination]]
 +
**: please use the {{tl|DEC}} template to specify this
 +
** "epoch" &mdash; the parameter for [[astronomical epoch]]
 +
**: common values are [[B1875.0]] , [[B1900.0]] , [[B1950.0]] , [[J2000.0]] ; please wikify this value, if possible
 +
* "type" &mdash; the parameter for object type (put ''unknown'' or ''undefined'' if there is no type)
 +
*: this value should be wikified, if possible
 +
 +
===Optional parameters===
 +
* "constel" &mdash; the parameter for the [[constellation]]
 +
*: use a comma separated list if there is more than one constellation, please wikify the list
 +
* distance
 +
** "dist_pc" &mdash; the distance to the object, in [[parsec]]s
 +
** "dist_ly" &mdash; the distance to the object, in [[light year]]s
 +
** "z" &mdash; the cosmological redshift of the object, in unitless 'z'
 +
* apparent characteristics - in visible light
 +
** "appsize" &mdash; 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" &mdash; the [[apparent magnitude]] of the object (brightness)
 +
** "appdim" &mdash; 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" &mdash; the [[absolute magnitude]] of the object (luminosity)
 +
* "size" &mdash; 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" &mdash; 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" &mdash; 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" &mdash; 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" &mdash; place any notes about the object here, which deserve special notice in the infobox
 +
* "names" &mdash; 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

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
  • "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)
  • "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
  • "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