Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>RJHall
(Undid revision 358282905 by RJHall (talk))
imported>RJHall
m (fix link)
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|}}}|
 
{{#if:{{{z_err|}}}|
 
{{#if:{{{z_err|}}}|
 
! [[Redshift]]
 
! [[Redshift]]
Line 17: Line 18:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
}}
+
}}<!--
{{#if:{{{gal_v|}}}|
+
 
 +
-->{{#if:{{{gal_v|}}}|
 
{{#if:{{{gv_err|}}}|
 
{{#if:{{{gv_err|}}}|
 
! Galactocentric Velocity
 
! Galactocentric Velocity
Line 28: Line 30:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
}}
+
}}<!--
{{#if:{{{g_dist|}}}|
+
 
 +
 
 +
--> {{#if:{{{g_dist|}}}|
 
{{#ifexpr: {{{g_dist}}}>3.27|
 
{{#ifexpr: {{{g_dist}}}>3.27|
 
{{#if:{{{dist_err|}}}|
 
{{#if:{{{dist_err|}}}|
Line 42: Line 46:
 
}}|
 
}}|
 
{{#if:{{{dist_ref|}}}|
 
{{#if:{{{dist_ref|}}}|
! [[Distance]]
+
! [[Distance (astronomy)|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

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.