Difference between revisions of "Template:Galaxybox astrometry"
imported>Thumperward (tweak) |
imported>Thumperward (tidy) |
||
| Line 1: | Line 1: | ||
<noinclude>{{galaxybox begin}}</noinclude> | <noinclude>{{galaxybox begin}}</noinclude> | ||
| − | ! style="background-color: #AFC | + | ! colspan=2 style="background-color: #AFC" | [[Astrometry]] |
{{#if:{{{h_radial_v|}}}| | {{#if:{{{h_radial_v|}}}| | ||
| − | + | {{#if:{{{hrv_err|}}}| | |
| − | + | ! [[Radial Velocity|Helio Radial velocity]] | |
| − | + | {{!}} {{{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|}}}| | |
| − | + | ! [[Redshift]] | |
| − | + | {{!}} {{{z}}} ± {{{z_err}}} | |
| − | + | {{!}}- | |
| + | | | ||
| + | ! [[Redshift]] | ||
| + | {{!}} {{{z}}} | ||
| + | {{!}}- | ||
| + | }} | ||
}} | }} | ||
{{#if:{{{gal_v|}}}| | {{#if:{{{gal_v|}}}| | ||
| − | + | {{#if:{{{gv_err|}}}| | |
| − | + | ! Galactocentric Velocity | |
| − | + | {{!}} {{{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| | |
| − | + | {{#if:{{{dist_err|}}}| | |
| − | + | {{#if:{{{dist_ref|}}}| | |
| − | + | ! [[Distance]] | |
| − | + | {{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}}<ref>{{{dist_ref}}}</ref> | |
| − | + | {{!}}- | |
| − | + | | | |
| − | + | ! [[Distance]] | |
| − | + | {{!}} {{convert|{{{g_dist}}}|+/-|{{{dist_err}}}|Mly|Mpc|2|lk=on|abbr=on}} | |
| − | + | {{!}}- | |
| − | + | }}| | |
| − | + | {{#if:{{{dist_ref|}}}| | |
| − | + | ! [[Distance]] | |
| − | + | {{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}}{{{dist_ref}}} | |
| − | + | {{!}}- | |
| − | + | | | |
| − | + | ! [[Distance]] | |
| − | + | {{!}} {{convert|{{{g_dist}}}|Mly|Mpc|2|lk=on|abbr=on}} | |
| − | + | {{!}}- | |
| − | + | }} | |
| − | + | }}| | |
| − | + | {{#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 | |
| − | |||
| 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. | ||
| − | |||
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
| 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:
- {{Galaxybox image}}
- {{Galaxybox observe}}
- {{Galaxybox character}}
- {{Galaxybox astrometry}}
- {{Galaxybox catalog}}
- {{Galaxybox reference}}
The list should then be closed with a {{Galaxybox end}} template.
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |