Difference between revisions of "Template:Galaxybox astrometry"
imported>RJHall m (fix link) |
imported>RJHall |
||
| Line 6: | Line 6: | ||
{{!}} {{{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]] | ||
{{!}}- | {{!}}- | ||
| − | }} | + | }} |
| − | + | {{#if:{{{z|}}}| | |
| − | |||
{{#if:{{{z_err|}}}| | {{#if:{{{z_err|}}}| | ||
! [[Redshift]] | ! [[Redshift]] | ||
| Line 18: | Line 17: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | }} | + | }} |
| − | + | {{#if:{{{gal_v|}}}| | |
| − | |||
{{#if:{{{gv_err|}}}| | {{#if:{{{gv_err|}}}| | ||
! Galactocentric Velocity | ! Galactocentric Velocity | ||
| Line 30: | Line 28: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| − | }} | + | }} |
| − | + | {{#if:{{{g_dist|}}}| | |
| − | |||
| − | |||
{{#ifexpr: {{{g_dist}}}>3.27| | {{#ifexpr: {{{g_dist}}}>3.27| | ||
{{#if:{{{dist_err|}}}| | {{#if:{{{dist_err|}}}| | ||
| Line 46: | Line 42: | ||
}}| | }}| | ||
{{#if:{{{dist_ref|}}}| | {{#if:{{{dist_ref|}}}| | ||
| − | ! [[ | + | ! [[Distance]] |
{{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} | {{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} | ||
{{!}}- | {{!}}- | ||
Revision as of 21:52, 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. |