Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(d'oh)
imported>RJHall
(Rendering is faulty; fixing by adding 'pre' tags.)
Line 77: Line 77:
 
{{doc|content=
 
{{doc|content=
 
This is part of a group of templates that are used to display astronomical information related to a specific star. It should always be preceded by a {{tl|Galaxybox begin}} template. The template can then be used as follows:
 
This is part of a group of templates that are used to display astronomical information related to a specific star. It should always be preceded by a {{tl|Galaxybox begin}} template. The template can then be used as follows:
 +
<pre>
 
  {{Galaxybox astrometry
 
  {{Galaxybox astrometry
 
  | h_radial_v = <nowiki><!--Heliocentric Radial velocity (in km/sec)-->
 
  | h_radial_v = <nowiki><!--Heliocentric Radial velocity (in km/sec)-->
Line 88: Line 89:
 
  | dist_ref = <nowiki><!--</nowiki>Reference for Distance (Use ref></ref and/or any citation templates Templates)-->
 
  | dist_ref = <nowiki><!--</nowiki>Reference for Distance (Use ref></ref and/or any citation templates Templates)-->
 
  }}
 
  }}
 +
</pre>
 
Any of these parameters may be omitted. If all parameters that would be displayed on a given line are omitted, the line will be omitted from the infobox, except that, if ''dist_ly'' and ''dist_pc'' are omitted, but ''parallax'' is present, then the object's distance will be computed from ''parallax'' and, if present, ''p_error''. For this calculation to work, footnotes and references for the parallax and its error should be placed in ''parallax_footnote'' rather than ''parallax'' or ''p_error''.
 
Any of these parameters may be omitted. If all parameters that would be displayed on a given line are omitted, the line will be omitted from the infobox, except that, if ''dist_ly'' and ''dist_pc'' are omitted, but ''parallax'' is present, then the object's distance will be computed from ''parallax'' and, if present, ''p_error''. For this calculation to work, footnotes and references for the parallax and its error should be placed in ''parallax_footnote'' rather than ''parallax'' or ''p_error''.
 
This template can also be preceded or followed by other Galaxybox templates:
 
This template can also be preceded or followed by other Galaxybox templates:

Revision as of 17:20, 2 February 2010

Galaxybox astrometry
Astrometry
Template documentation

This is part of a group of templates that are used to display astronomical information related to a specific star. It should always be preceded by a {{Galaxybox begin}} template. The template can then be used as follows:

 {{Galaxybox astrometry
 | h_radial_v = <!--Heliocentric Radial velocity (in km/sec)-->
 | hrv_err = <nowiki><!--Heliocentric Radial velocity Error(in km/sec)-->
 | z = <nowiki><!--Redshift-->
 | z_err = <nowiki><!--Redshift Error-->
 | gal_v = <nowiki><!--Galactocentric Velocity (in km/s)-->
 | gv_err = <nowiki><!--Galactocentric Velocity Error(in km/s)-->
 | g_dist = <nowiki><!--Distance (in Mega light years)-->
 | dist_err = <!--Error in Distance (in light years)-->
 | dist_ref = <!--Reference for Distance (Use ref></ref and/or any citation templates Templates)-->
 }}

Any of these parameters may be omitted. If all parameters that would be displayed on a given line are omitted, the line will be omitted from the infobox, except that, if dist_ly and dist_pc are omitted, but parallax is present, then the object's distance will be computed from parallax and, if present, p_error. For this calculation to work, footnotes and references for the parallax and its error should be placed in parallax_footnote rather than parallax or p_error. This template can also be preceded or followed by other Galaxybox templates:

The list should then be closed with a {{Galaxybox end}} template.