Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>JorisvS
m (ce)
Line 3: Line 3:
 
|-
 
|-
 
{{#if:{{{h_radial_v|}}}|
 
{{#if:{{{h_radial_v|}}}|
! [[Radial Velocity|Helio Radial velocity]]
+
! [[Radial velocity|Heliocentric radial velocity]]
 
{{!}} {{{h_radial_v}}} {{#if:{{{hrv_err|}}}|± {{{hrv_err}}} }}[[Kilometre per second|km/s]]
 
{{!}} {{{h_radial_v}}} {{#if:{{{hrv_err|}}}|± {{{hrv_err}}} }}[[Kilometre per second|km/s]]
 
{{!}}-
 
{{!}}-
Line 79: Line 79:
 
<pre>
 
<pre>
 
  {{Galaxybox astrometry
 
  {{Galaxybox astrometry
  | h_radial_v = <nowiki><!--</nowiki>Heliocentric Radial velocity (in km/s)-->
+
  | h_radial_v = <nowiki><!--</nowiki>Heliocentric radial velocity (in km/s)-->
  | hrv_err = <nowiki><!--</nowiki>Heliocentric Radial velocity Error(in km/s)-->
+
  | hrv_err = <nowiki><!--</nowiki>Heliocentric radial velocity error (in km/s)-->
 
  | z = <nowiki><!--</nowiki>Redshift-->
 
  | z = <nowiki><!--</nowiki>Redshift-->
  | z_err = <nowiki><!--</nowiki>Redshift Error-->
+
  | z_err = <nowiki><!--</nowiki>Redshift error-->
  | gal_v = <nowiki><!--</nowiki>Galactocentric Velocity (in km/s)-->
+
  | gal_v = <nowiki><!--</nowiki>Galactocentric velocity (in km/s)-->
  | gv_err = <nowiki><!--</nowiki>Galactocentric Velocity Error(in km/s)-->
+
  | gv_err = <nowiki><!--</nowiki>Galactocentric velocity error (in km/s)-->
  | g_dist = <nowiki><!--</nowiki>Distance (in Mega light years)-->
+
  | g_dist = <nowiki><!--</nowiki>Distance (in million light years)-->
  | dist_err = <nowiki><!--</nowiki>Error in Distance (in light years)-->
+
  | dist_err = <nowiki><!--</nowiki>Error in distance (in light years)-->
  | 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)-->
  }}
+
  }}/
 
</pre>
 
</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''.

Revision as of 16:23, 10 March 2014

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/s)-->
 | hrv_err = <!--Heliocentric radial velocity error (in km/s)-->
 | z = <!--Redshift-->
 | z_err = <!--Redshift error-->
 | gal_v = <!--Galactocentric velocity (in km/s)-->
 | gv_err = <!--Galactocentric velocity error (in km/s)-->
 | g_dist = <!--Distance (in million light years)-->
 | dist_err = <!--Error in distance (in light years)-->
 | dist_ref = <!--Reference for distance (use <ref></ref> and/or any citation 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.