Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>JorisvS
m
imported>0blcsp
(Removed correct link altogether; “km/s” already exists as a redirect (which is allowable as a substitute))
 
(3 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
{{#if:{{{h_radial_v|}}}|
 
{{#if:{{{h_radial_v|}}}|
 
! [[Radial velocity|Heliocentric 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}}} }} [[km/s]]
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 21: Line 21:
 
{{#if:{{{gv_err|}}}|
 
{{#if:{{{gv_err|}}}|
 
! Galactocentric velocity
 
! Galactocentric velocity
{{!}} {{{gal_v}}} ± {{{gv_err}}} [[Kilometre per second|km/s]]
+
{{!}} {{{gal_v}}} ± {{{gv_err}}} [[km/s]]
 
{{!}}-
 
{{!}}-
 
|
 
|
 
! Galactocentric velocity
 
! Galactocentric velocity
{{!}} {{{gal_v}}} [[Kilometre per second|km/s]]
+
{{!}} {{{gal_v}}} [[km/s]]
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 33: Line 33:
 
{{#if:{{{dist_err|}}}|
 
{{#if:{{{dist_err|}}}|
 
{{#if:{{{dist_ref|}}}|
 
{{#if:{{{dist_ref|}}}|
! [[Distance (astronomy)|Distance]]
+
! [[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}}}
 
{{!}}-
 
{{!}}-
 
|
 
|
! [[Distance (astronomy)|Distance]]
+
! [[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:
 
{{!}}-
 
{{!}}-
 
|
 
|
! [[Distance (astronomy)|Distance]]
+
! [[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|}}}|
! [[Distance (astronomy)|Distance]]
+
! [[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}}}
 
{{!}}-
 
{{!}}-
 
|
 
|
! [[Distance (astronomy)|Distance]]
+
! [[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|}}}|
! [[Distance (astronomy)|Distance]]
+
! [[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}}}
 
{{!}}-
 
{{!}}-
 
|
 
|
! [[Distance (astronomy)|Distance]]
+
! [[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}}  
 
{{!}}-
 
{{!}}-

Latest revision as of 16:58, 15 March 2020

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.