Template:Starbox astrometry: Difference between revisions
Lightmouse (talk | contribs) Mostly units |
per edit requests on talk page - footnote placements + remove all instances of the "small" tag to improve accessibility |
||
(28 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Astro talk}} |
<noinclude>{{Astro talk}} |
||
{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 3px;" |
{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 3px;" |
||
</noinclude><tr><th style="background-color: #FFFFC0;" colspan="2">[[Astrometry]]</th></tr><tr><th colspan="2">{{{ |
</noinclude><tr><th style="background-color: #FFFFC0; text-align: center;" colspan="2">{{#if:{{{no_heading|}}}||[[Astrometry]]}}</th></tr>{{#if:{{{component|}}}|<tr style="text-align:center"><th colspan="2">{{{component}}}</th></tr>}}</th></tr><!-- |
||
--><tr><th colspan="2" style="text-align: center">{{{component1<includeonly>|</includeonly>}}}</tr><!-- |
|||
⚫ | |||
-->{{#if:{{{ |
-->{{#if:{{{radial_v<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Radial velocity]] (R<sub>v</sub>)'''</td><td>{{{radial_v}}} km/s</td></tr>}}<!-- |
||
-->{{#if:{{{ |
-->{{#if:{{{total_v<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''Total velocity'''</td><td>{{{total_v}}} km/s</td></tr>}}<!-- |
||
-->{{#if:{{{prop_mo_ra<includeonly>|</includeonly>}}}{{{prop_mo_dec|}}}|<tr style="vertical-align:top;"><td>'''[[Proper motion]] (μ)'''</td><td> <abbr title="Right Ascension">RA:</abbr> {{{prop_mo_ra|}}} [[Milliarcsecond|mas]]/[[Year|yr]]{{{pm_footnote|}}} <br /> <abbr title="Declination">Dec.:</abbr> {{{prop_mo_dec|}}} [[Milliarcsecond|mas]]/[[Year|yr]]{{{pm_footnote|}}} </td></tr> }}<!-- |
|||
⚫ | |||
-->{{#if:{{{parallax<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Stellar parallax|Parallax]] (π)'''</td><td>{{{parallax}}}{{#if:{{{p_error|}}}| ± {{{p_error}}} }} [[Milliarcsecond|mas]]{{#if:{{{parallax_footnote|}}}|{{{parallax_footnote}}} }}</td></tr>}}<!-- |
|||
-->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}{{#if:{{{parallax|}}}|{{#if:{{{p_error|}}}|{{#ifexpr: {{{parallax|}}}-{{{p_error|}}}>0|yes}}}}}}|<tr style="vertical-align:top;"><td>'''[[Distance (astronomy)|Distance]]'''</td><!-- |
|||
--><td><!-- |
--><td><!-- |
||
-->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}||{{ErrorBar2|{{#expr: 3261.5638 / {{{parallax}}} }}|{{#if:{{{p_error|}}}|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }}|0.1}} |
-->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}||{{ErrorBar2|{{#expr: 3261.5638 / {{{parallax}}} }}|{{#if:{{{p_error|}}}|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }}|0.1}} [[Light-year|ly]] <br />({{ErrorBar2|{{#expr: 1000.0 / {{{parallax}}} }}|{{#if:{{{p_error|}}}|{{#expr: 1000.0 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }}|0.1}} [[Parsec|pc]])}}<!-- -->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}|{{{dist_ly}}} [[Light-year|ly]] {{#if:{{{dist_pc|}}}|<br />({{{dist_pc}}} [[Parsec|pc]])}}|{{#if:{{{dist_pc|}}}|{{{dist_pc}}} [[Parsec|pc]]}}}}{{{dist_footnote|}}}<!-- |
||
--></td></tr>}}<!-- -->{{#if:{{{absmag_v<includeonly>|</includeonly>}}}|<tr |
--></td></tr>}}<!-- |
||
-->{{#if:{{{absmag_v<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Absolute magnitude|Absolute magnitude]] (M<sub>V</sub>)'''</td><td>{{{absmag_v}}}</td></tr>}}<!-- |
|||
⚫ | |||
--><tr><th colspan="2">{{{component2|}}}</th></tr><!-- |
--><tr><th colspan="2" style="text-align: center">{{{component2<includeonly>|</includeonly>}}}</th></tr><!-- |
||
-->{{#if:{{{radial_v2<includeonly>|</includeonly>}}}|<tr valign=top><td>'''[[Radial velocity]] <small>(R<sub>v</sub>)</small>'''</td><td>{{{radial_v2}}} km/s</td></tr>}}<!-- |
|||
-->{{#if:{{{ |
-->{{#if:{{{radial_v2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Radial velocity]] (R<sub>v</sub>)'''</td><td>{{{radial_v2}}} km/s</td></tr>}}<!-- |
||
-->{{#if:{{{ |
-->{{#if:{{{total_v2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''Total velocity'''</td><td>{{{total_v2}}} km/s</td></tr>}}<!-- |
||
-->{{#if:{{{prop_mo_ra2<includeonly>|</includeonly>}}}{{{prop_mo_dec2|}}}|<tr style="vertical-align:top;"><td>'''[[Proper motion]] (μ)'''</td><td> <abbr title="Right Ascension">RA:</abbr> {{{prop_mo_ra2|-}}} [[Milliarcsecond|mas]]/[[Year|yr]]{{{pm_footnote2|}}} <br /> <abbr title="Declination">Dec.:</abbr> {{{prop_mo_dec2|-}}} [[Milliarcsecond|mas]]/[[Year|yr]]{{{pm_footnote2|}}} </td></tr> }}<!-- |
|||
⚫ | |||
-->{{#if:{{{parallax2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Stellar parallax|Parallax]] (π)'''</td><td>{{{parallax2}}}{{#if:{{{p_error2|}}}| ± {{{p_error2}}}}} [[Milliarcsecond|mas]]{{#if:{{{parallax_footnote2|}}}|{{{parallax_footnote2}}}}}</td></tr>}}<!-- |
|||
⚫ | |||
--><td><!-- |
--><td><!-- |
||
-->{{#if:{{{dist_ly2<includeonly>|</includeonly>}}}{{{dist_pc2|}}}||{{ErrorBar2|{{#expr: 3261.5638 / {{{parallax2}}} }}|{{#if:{{{p_error2|}}}|{{#expr: 3261.5638 * {{{ |
-->{{#if:{{{dist_ly2<includeonly>|</includeonly>}}}{{{dist_pc2|}}}||{{ErrorBar2|{{#expr: 3261.5638 / {{{parallax2}}} }}|{{#if:{{{p_error2|}}}|{{#expr: 3261.5638 * {{{p_error2}}} / ({{{parallax2}}} * {{{parallax2}}}) }} }}|0.1}} [[Light-year|ly]] <br />({{ErrorBar2|{{#expr: 1000.0 / {{{parallax2}}} }}|{{#if:{{{p_error2|}}}|{{#expr: 1000.0 * {{{p_error2}}} / ({{{parallax2}}} * {{{parallax2}}}) }} }}|0.1}} [[Parsec|pc]])}}<!-- -->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}|{{{dist_ly2}}} [[Light-year|ly]] {{#if:{{{dist_pc2|}}}|<br />({{{dist_pc2}}} [[Parsec|pc]])}}|{{#if:{{{dist_pc2|}}}|{{{dist_pc2}}} [[Parsec|pc]]}}}}<!-- |
||
--></td></tr>}}<!-- -->{{#if:{{{absmag_v2<includeonly>|</includeonly>}}}|<tr |
--></td></tr>}}<!-- -->{{#if:{{{absmag_v2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Absolute magnitude|Absolute magnitude]] (M<sub>V</sub>)'''</td><td>{{{absmag_v2}}}</td></tr>}}<!-- -->{{#if:{{{absmag_bol2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Absolute magnitude|Absolute bolometric<br>magnitude]] (M<sub>bol</sub>)'''</td><td>{{{absmag_bol2}}}</td></tr>}}<noinclude> |
||
|} |
|} |
||
{{Documentation}} |
{{Documentation}} |
||
[[ru:Шаблон:Звезда astrometry]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 19:25, 3 April 2022
Before making modifications to this template, please discuss the proposed changes on the WikiProject Astronomical objects talk page. Thank you. |
Astrometry | |
---|---|
{{{component1}}} | |
Radial velocity (Rv) | {{{radial_v}}} km/s |
Total velocity | {{{total_v}}} km/s |
Proper motion (μ) | RA: mas/yr Dec.: mas/yr |
Parallax (π) | {{{parallax}}} mas |
Distance | {{{dist_ly}}} ly |
Absolute magnitude (MV) | {{{absmag_v}}} |
Absolute bolometric magnitude (Mbol) | {{{absmag_bol}}} |
{{{component2}}} | |
Radial velocity (Rv) | {{{radial_v2}}} km/s |
Total velocity | {{{total_v2}}} km/s |
Proper motion (μ) | RA: - mas/yr Dec.: - mas/yr |
Parallax (π) | {{{parallax2}}} mas |
Distance | {{{dist_ly2}}} ly |
Absolute magnitude (MV) | {{{absmag_v2}}} |
Absolute bolometric magnitude (Mbol) | {{{absmag_bol2}}} |
This template is used on approximately 5,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This template is part of a group of templates that are used to display information about a specific star. The list should always have {{Starbox begin}} as the first in the list, while the list should have {{Starbox end}} as the last in the list. 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 particular template can be used as follows:
{{Starbox astrometry | radial_v = <!--Radial velocity (in km/sec)--> | total_v = <!--Total velocity (radial velocity combined with proper motion in km/sec)--> | prop_mo_ra = <!--Proper motion (RA), μα cos δ (in milliarcsec/yr)--> | prop_mo_dec = <!--Proper motion (dec), μδ (in milliarcsec/yr)--> | pm_footnote = <!--Proper motion footnotes--> | parallax = <!--Parallax (in milliarcsec)--> | p_error = <!--Parallax error (in milliarcsec)--> | parallax_footnote = <!--Parallax footnote--> | dist_ly = <!--Distance (in light years)--> | dist_pc = <!--Distance (in parsecs)--> | dist_footnote = <!--Distance footnotes--> | absmag_v = <!--Absolute magnitude (Johnson-Cousins V system)--> | absmag_bol = <!--Absolute bolometric magnitude (accounts for emissions across all spectra of light)--> }}
However, you can use the following syntax for two stars:
{{Starbox astrometry | component1 = <!--Name of the first component--> | radial_v = <!--Radial velocity (in km/sec)--> | total_v = <!--Total velocity (radial velocity combined with proper motion in km/sec)--> | prop_mo_ra = <!--Proper motion (RA), μα cos δ (in milliarcsec/yr)--> | prop_mo_dec = <!--Proper motion (dec), μδ (in milliarcsec/yr)--> | pm_footnote = <!--Proper motion footnotes--> | parallax = <!--Parallax (in milliarcsec)--> | p_error = <!--Parallax error (in milliarcsec)--> | parallax_footnote = <!--Parallax footnote--> | dist_ly = <!--Distance (in light years)--> | dist_pc = <!--Distance (in parsecs)--> | dist_footnote = <!--Distance footnotes--> | absmag_v = <!--Absolute magnitude (Johnson-Cousins V system)--> | absmag_bol = <!--Absolute bolometric magnitude (accounts for emissions across all spectra of light)--> | component2 = <!--Name of the second component--> | radial_v2 = <!--Radial velocity (in km/sec)--> | total_v2 = <!--Total velocity (radial velocity combined with proper motion in km/sec)--> | prop_mo_ra2 = <!--Proper motion (RA), μα cos δ (in milliarcsec/yr)--> | prop_mo_dec2 = <!--Proper motion (dec), μδ (in milliarcsec/yr)--> | pm_footnote2 = <!--Proper motion footnotes--> | parallax2 = <!--Parallax (in milliarcsec)--> | p_error2 = <!--Parallax error (in milliarcsec)--> | parallax_footnote2 = <!--Parallax footnote--> | dist_ly2 = <!--Distance (in light years)--> | dist_pc2 = <!--Distance (in parsecs)--> | absmag_v2 = <!--Absolute magnitude (Johnson-Cousins V system)--> | absmag_bol2 = <!--Absolute bolometric magnitude (accounts for emissions across all spectra of light)--> }}
Note that hyphens are automatically replaced with minus signs. If you would like to use a hyphen, type the HTML entity (-) instead.
The following templates are used together and are usually placed in the order listed below.
- {{Starbox begin}}
- {{Starbox image}}
- {{Starbox observe}}
- {{Starbox observe 2s}}
- {{Starbox observe 3s}}
- {{Starbox character}}
- {{Starbox astrometry}}
- {{Starbox orbit}}
- {{Starbox detail}}
- {{Starbox relpos}}
- {{Starbox catalog}}
- {{Starbox reference}}
- {{Starbox sources}}
- {{Starbox end}}
See also
- {{Orbitboxes}}
- {{Starbox short}}