Difference between revisions of "Template:Galaxybox astrometry"
imported>RJHall (Link to astronomy-specific redirect) |
imported>RJHall m (Make dist_ref consistent) |
||
| Line 34: | Line 34: | ||
{{#if:{{{dist_ref|}}}| | {{#if:{{{dist_ref|}}}| | ||
! [[Distance (astronomy)|Distance]] | ! [[Distance (astronomy)|Distance]] | ||
| − | {{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}} | + | {{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} |
{{!}}- | {{!}}- | ||
| | | | ||
| Line 63: | Line 63: | ||
{{#if:{{{dist_ref|}}}| | {{#if:{{{dist_ref|}}}| | ||
! [[Distance (astronomy)|Distance]] | ! [[Distance (astronomy)|Distance]] | ||
| − | {{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}} | + | {{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}} |
{{!}}- | {{!}}- | ||
| | | | ||
Revision as of 21:31, 25 April 2010
| Astrometry |
|---|
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:
- {{Galaxybox image}}
- {{Galaxybox observe}}
- {{Galaxybox character}}
- {{Galaxybox astrometry}}
- {{Galaxybox catalog}}
- {{Galaxybox reference}}
The list should then be closed with a {{Galaxybox end}} template.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |