Difference between revisions of "Template:Galaxybox astrometry"
imported>Lightmouse (Mostly units) |
imported>0blcsp (Removed correct link altogether; “km/s” already exists as a redirect (which is allowable as a substitute)) |
||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 3: | Line 3: | ||
|- | |- | ||
{{#if:{{{h_radial_v|}}}| | {{#if:{{{h_radial_v|}}}| | ||
| − | ! [[Radial | + | ! [[Radial velocity|Heliocentric radial velocity]] |
| − | {{!}} {{{h_radial_v}}} {{#if:{{{hrv_err|}}}|± {{{hrv_err}}} }}[[ | + | {{!}} {{{h_radial_v}}} {{#if:{{{hrv_err|}}}|± {{{hrv_err}}} }} [[km/s]] |
{{!}}- | {{!}}- | ||
}} | }} | ||
| Line 20: | Line 20: | ||
{{#if:{{{gal_v|}}}| | {{#if:{{{gal_v|}}}| | ||
{{#if:{{{gv_err|}}}| | {{#if:{{{gv_err|}}}| | ||
| − | ! Galactocentric | + | ! Galactocentric velocity |
| − | {{!}} {{{gal_v}}} ± {{{gv_err}}} [[ | + | {{!}} {{{gal_v}}} ± {{{gv_err}}} [[km/s]] |
{{!}}- | {{!}}- | ||
| | | | ||
| − | ! Galactocentric | + | ! Galactocentric velocity |
| − | {{!}} {{{gal_v}}} [[ | + | {{!}} {{{gal_v}}} [[km/s]] |
{{!}}- | {{!}}- | ||
}} | }} | ||
| Line 33: | Line 33: | ||
{{#if:{{{dist_err|}}}| | {{#if:{{{dist_err|}}}| | ||
{{#if:{{{dist_ref|}}}| | {{#if:{{{dist_ref|}}}| | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|Distance]] |
{{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} | {{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} | ||
{{!}}- | {{!}}- | ||
| | | | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|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}} | ||
{{!}}- | {{!}}- | ||
| Line 46: | Line 46: | ||
{{!}}- | {{!}}- | ||
| | | | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|Distance]] |
{{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}} | {{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}} | ||
{{!}}- | {{!}}- | ||
| Line 53: | Line 53: | ||
{{#if:{{{dist_err|}}}| | {{#if:{{{dist_err|}}}| | ||
{{#if:{{{dist_ref|}}}| | {{#if:{{{dist_ref|}}}| | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|Distance]] |
{{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}} | {{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}} | ||
{{!}}- | {{!}}- | ||
| | | | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|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}} | ||
{{!}}- | {{!}}- | ||
}}| | }}| | ||
{{#if:{{{dist_ref|}}}| | {{#if:{{{dist_ref|}}}| | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|Distance]] |
{{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}} | {{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}} | ||
{{!}}- | {{!}}- | ||
| | | | ||
| − | ! [[ | + | ! [[Cosmic distance ladder|Distance]] |
{{!}} {{convert|{{#expr: {{{g_dist}}}*1000}}|kly|kpc|2|lk=on|abbr=on}} | {{!}} {{convert|{{#expr: {{{g_dist}}}*1000}}|kly|kpc|2|lk=on|abbr=on}} | ||
{{!}}- | {{!}}- | ||
| Line 79: | Line 79: | ||
<pre> | <pre> | ||
{{Galaxybox astrometry | {{Galaxybox astrometry | ||
| − | | h_radial_v = <nowiki><!--Heliocentric | + | | h_radial_v = <nowiki><!--</nowiki>Heliocentric radial velocity (in km/s)--> |
| − | | hrv_err = <nowiki><!--Heliocentric | + | | hrv_err = <nowiki><!--</nowiki>Heliocentric radial velocity error (in km/s)--> |
| − | | z = <nowiki><!--Redshift--> | + | | z = <nowiki><!--</nowiki>Redshift--> |
| − | | z_err = <nowiki><!--Redshift | + | | z_err = <nowiki><!--</nowiki>Redshift error--> |
| − | | gal_v = <nowiki><!--Galactocentric | + | | gal_v = <nowiki><!--</nowiki>Galactocentric velocity (in km/s)--> |
| − | | gv_err = <nowiki><!--Galactocentric | + | | gv_err = <nowiki><!--</nowiki>Galactocentric velocity error (in km/s)--> |
| − | | g_dist = <nowiki><!--</nowiki>Distance (in | + | | g_dist = <nowiki><!--</nowiki>Distance (in million light years)--> |
| − | | dist_err = <nowiki><!--</nowiki>Error in | + | | dist_err = <nowiki><!--</nowiki>Error in distance (in light years)--> |
| − | | dist_ref = <nowiki><!--</nowiki>Reference for | + | | 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''. | ||
Latest revision as of 16:58, 15 March 2020
| 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/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:
- {{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. |