Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>RJHall
(Undid revision 358283662 by RJHall (talk))
imported>0blcsp
(Removed correct link altogether; “km/s” already exists as a redirect (which is allowable as a substitute))
 
(7 intermediate revisions by 6 users not shown)
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}}} }} [[km/s]]
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 20: Line 20:
 
{{#if:{{{gal_v|}}}|
 
{{#if:{{{gal_v|}}}|
 
{{#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}}  
 
{{!}}-
 
{{!}}-
Line 79: Line 79:
 
<pre>
 
<pre>
 
  {{Galaxybox astrometry
 
  {{Galaxybox astrometry
  | h_radial_v = <nowiki><!--Heliocentric Radial velocity (in km/sec)-->
+
  | h_radial_v = <nowiki><!--</nowiki>Heliocentric radial velocity (in km/s)-->
  | hrv_err = <nowiki><!--Heliocentric Radial velocity Error(in km/sec)-->
+
  | hrv_err = <nowiki><!--</nowiki>Heliocentric radial velocity error (in km/s)-->
  | z = <nowiki><!--Redshift-->
+
  | z = <nowiki><!--</nowiki>Redshift-->
  | z_err = <nowiki><!--Redshift Error-->
+
  | z_err = <nowiki><!--</nowiki>Redshift error-->
  | gal_v = <nowiki><!--Galactocentric Velocity (in km/s)-->
+
  | gal_v = <nowiki><!--</nowiki>Galactocentric velocity (in km/s)-->
  | gv_err = <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''.

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.