Difference between revisions of "Template:Galaxybox astrometry"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(tweak)
imported>Thumperward
(tidy)
Line 1: Line 1:
 
<noinclude>{{galaxybox begin}}</noinclude>
 
<noinclude>{{galaxybox begin}}</noinclude>
! style="background-color: #AFC;" colspan="2" | [[Astrometry]]
+
! colspan=2 style="background-color: #AFC" | [[Astrometry]]
 
{{#if:{{{h_radial_v|}}}|
 
{{#if:{{{h_radial_v|}}}|
  {{#if:{{{hrv_err|}}}|
+
{{#if:{{{hrv_err|}}}|
      <tr valign=top><td>'''[[Radial Velocity|Helio Radial velocity]]'''</td><td> {{{h_radial_v}}} ± {{{hrv_err}}} [[Kilometre per second|km/s]]</td></tr>|
+
! [[Radial Velocity|Helio Radial velocity]]
      <tr valign=top><td>'''[[Radial Velocity|Helio Radial velocity]]'''</td><td> {{{h_radial_v}}} [[Kilometre per second|km/s]]</td></tr>
+
{{!}} {{{h_radial_v}}} ± {{{hrv_err}}} [[Kilometre per second|km/s]]
  }}
+
{{!}}-
 +
|
 +
! [[Radial Velocity|Helio Radial velocity]]
 +
{{!}} {{{h_radial_v}}} [[Kilometre per second|km/s]]
 +
{{!}}-
 +
}}
 
}}
 
}}
 
{{#if:{{{z|}}}|
 
{{#if:{{{z|}}}|
  {{#if:{{{z_err|}}}|
+
{{#if:{{{z_err|}}}|
      <tr valign=top><td>'''[[Redshift]]'''</td><td> {{{z}}} ± {{{z_err}}} </td></tr>|
+
! [[Redshift]]
      <tr valign=top><td>'''[[Redshift]]'''</td><td> {{{z}}} </td></tr>
+
{{!}} {{{z}}} ± {{{z_err}}}  
  }}
+
{{!}}-
 +
|
 +
! [[Redshift]]
 +
{{!}} {{{z}}}  
 +
{{!}}-
 +
}}
 
}}
 
}}
 
{{#if:{{{gal_v|}}}|
 
{{#if:{{{gal_v|}}}|
  {{#if:{{{gv_err|}}}|
+
{{#if:{{{gv_err|}}}|
      <tr valign=top><td>'''Galactocentric Velocity'''</td><td> {{{gal_v}}} ± {{{gv_err}}} [[Kilometre per second|km/s]]</td></tr>|
+
! Galactocentric Velocity
      <tr valign=top><td>'''Galactocentric Velocity'''</td><td> {{{gal_v}}} [[Kilometre per second|km/s]]</td></tr>
+
{{!}} {{{gal_v}}} ± {{{gv_err}}} [[Kilometre per second|km/s]]
  }}
+
{{!}}-
 +
|
 +
! Galactocentric Velocity
 +
{{!}} {{{gal_v}}} [[Kilometre per second|km/s]]
 +
{{!}}-
 +
}}
 
}}
 
}}
 
{{#if:{{{g_dist|}}}|
 
{{#if:{{{g_dist|}}}|
  {{#ifexpr: {{{g_dist}}}>3.27|
+
{{#ifexpr: {{{g_dist}}}>3.27|
      {{#if:{{{dist_err|}}}|
+
{{#if:{{{dist_err|}}}|
        {{#if:{{{dist_ref|}}}|
+
{{#if:{{{dist_ref|}}}|
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}<ref>{{{dist_ref}}}</ref></td></tr>|
+
! [[Distance]]
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}</td></tr>
+
{{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}<ref>{{{dist_ref}}}</ref>
        }}|
+
{{!}}-
        {{#if:{{{dist_ref|}}}|
+
|
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} </td></tr>|
+
! [[Distance]]
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}} </td></tr>
+
{{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}
        }}
+
{{!}}-
      }}|
+
}}|
      {{#if:{{{dist_err|}}}|
+
{{#if:{{{dist_ref|}}}|
        {{#if:{{{dist_ref|}}}|
+
! [[Distance]]
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}}</td></tr>|
+
{{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}}  
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}</td></tr>
+
{{!}}-
        }}|
+
|
        {{#if:{{{dist_ref|}}}|
+
! [[Distance]]
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}} </td></tr>|
+
{{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}}  
            <tr valign=top><td>'''[[Distance]]'''</td><td> {{convert|{{#expr: {{{g_dist}}}*1000}}|kly|kpc|2|lk=on|abbr=on}} </td></tr>
+
{{!}}-
        }}
+
}}
      }}
+
}}|
  }}
+
{{#if:{{{dist_err|}}}|
 +
{{#if:{{{dist_ref|}}}|
 +
! [[Distance]]
 +
{{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}{{{dist_ref}}}
 +
{{!}}-
 +
|
 +
! [[Distance]]
 +
{{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}
 +
{{!}}-
 +
}}|
 +
{{#if:{{{dist_ref|}}}|
 +
! [[Distance]]
 +
{{!}} {{convert|{{#expr:{{{g_dist}}}*1000}}|+/-|{{#expr: {{{dist_err}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}  
 +
{{!}}-
 +
|
 +
! [[Distance]]
 +
{{!}} {{convert|{{#expr: {{{g_dist}}}*1000}}|kly|kpc|2|lk=on|abbr=on}}  
 +
{{!}}-
 +
}}
 +
}}
 +
}}
 
}}
 
}}
 
|-<noinclude>
 
|-<noinclude>
Line 47: Line 82:
 
{{doc|content=
 
{{doc|content=
 
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 {{tl|Galaxybox begin}} template. The template can then be used as follows:
 
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 {{tl|Galaxybox begin}} template. The template can then be used as follows:
 
+
  {{Galaxybox astrometry
  <nowiki>{{</nowiki>Galaxybox astrometry
 
 
  | h_radial_v = <nowiki><!--Heliocentric Radial velocity (in km/sec)-->
 
  | h_radial_v = <nowiki><!--Heliocentric Radial velocity (in km/sec)-->
 
  | hrv_err = <nowiki><!--Heliocentric Radial velocity Error(in km/sec)-->
 
  | hrv_err = <nowiki><!--Heliocentric Radial velocity Error(in km/sec)-->
Line 59: Line 93:
 
  | 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 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''.
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:
 
This template can also be preceded or followed by other Galaxybox templates:
 
 
<!--*{{tl|Galaxybox begin}}-->
 
<!--*{{tl|Galaxybox begin}}-->
 
*{{tl|Galaxybox image}}
 
*{{tl|Galaxybox image}}
Line 72: Line 103:
 
*{{tl|Galaxybox reference}}
 
*{{tl|Galaxybox reference}}
 
<!--*{{tl|Galaxybox end}}-->
 
<!--*{{tl|Galaxybox end}}-->
 
 
The list should then be closed with a {{tl|Galaxybox end}} template.
 
The list should then be closed with a {{tl|Galaxybox end}} template.
 
[[Category:Galaxybox templates|{{PAGENAME}}]]
 
[[Category:Galaxybox templates|{{PAGENAME}}]]
</noinclude>
+
}}</noinclude>

Revision as of 18:41, 15 September 2009

Galaxybox astrometry
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:

! colspan=2 style="background-color: #AFC" | Astrometry ! Helio Radial velocity | <!--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)--> km/s |-


|- 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.