Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>RJHall
imported>RJHall
(Undid revision 358282905 by RJHall (talk))
Line 2: Line 2:
 
! colspan=2 style="background-color: #AFC" | [[Astrometry]]
 
! colspan=2 style="background-color: #AFC" | [[Astrometry]]
 
|-
 
|-
{{#if:{{{h_radial_v<includeonly>|</includeonly>}}}|
+
{{#if:{{{h_radial_v|}}}|
| '''[[Radial Velocity|Helio Radial velocity]]'''
+
! [[Radial Velocity|Helio Radial velocity]]
 
{{!}} {{{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]]
 
{{!}}-
 
{{!}}-
Line 9: Line 9:
 
{{#if:{{{z|}}}|
 
{{#if:{{{z|}}}|
 
{{#if:{{{z_err|}}}|
 
{{#if:{{{z_err|}}}|
| '''[[Redshift]]'''
+
! [[Redshift]]
 
{{!}} {{{z}}} ± {{{z_err}}}  
 
{{!}} {{{z}}} ± {{{z_err}}}  
 
{{!}}-
 
{{!}}-
 
|
 
|
| '''[[Redshift]]'''
+
! [[Redshift]]
 
{{!}} {{{z}}}  
 
{{!}} {{{z}}}  
 
{{!}}-
 
{{!}}-
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}}} [[Kilometre per second|km/s]]
 
{{!}}-
 
{{!}}-
 
|
 
|
| '''Galactocentric Velocity'''
+
! Galactocentric Velocity
 
{{!}} {{{gal_v}}} [[Kilometre per second|km/s]]
 
{{!}} {{{gal_v}}} [[Kilometre per second|km/s]]
 
{{!}}-
 
{{!}}-
Line 33: Line 33:
 
{{#if:{{{dist_err|}}}|
 
{{#if:{{{dist_err|}}}|
 
{{#if:{{{dist_ref|}}}|
 
{{#if:{{{dist_ref|}}}|
| '''[[Distance (astronomy)|Distance]]'''
+
! [[Distance (astronomy)|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]]'''
+
! [[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}}
 
{{!}}-
 
{{!}}-
 
}}|
 
}}|
 
{{#if:{{{dist_ref|}}}|
 
{{#if:{{{dist_ref|}}}|
| '''[[Distance (astronomy)|Distance]]'''
+
! [[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}}}  
 
{{!}}-
 
{{!}}-
 
|
 
|
| [[Distance (astronomy)|Distance]]'''
+
! [[Distance (astronomy)|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]]'''
+
! [[Distance (astronomy)|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]]'''
+
! [[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}}
 
{{!}}-
 
{{!}}-
 
}}|
 
}}|
 
{{#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}}{{{dist_ref}}}
 
{{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}}
 
{{!}}-
 
{{!}}-

Revision as of 21:48, 25 April 2010

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/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:

The list should then be closed with a {{Galaxybox end}} template.