Difference between revisions of "Template:Starbox astrometry"

From BattleTech - Black Diamond
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<table class="wikitable">
+
{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 3px;"
 
</noinclude>
 
</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><!--
+
! style="background-color: #FFFFC0; text-align: center;" colspan="2" | {{#if:{{{no_heading|}}}||[[Astrometry]]}}
-->{{#if:{{{radial_v<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Radial velocity]] <small>(R<sub>v</sub>)</small>'''</td><td>{{{radial_v}}} km/s</td></tr>}}<!--
+
|-
-->{{#if:{{{prop_mo_ra<includeonly>|</includeonly>}}}{{{prop_mo_dec|}}}{{#if:{{{prop_mo|}}}|{{{prop_mo_pa|}}}}}|<tr style="vertical-align:top;"><td>'''[[Proper motion]] <small>(μ)</small>'''</td><td> <abbr title="Right Ascension">RA:</abbr>&nbsp;{{{prop_mo_ra|{{#if:{{{prop_mo|}}}|{{mwe|r|{{{prop_mo}}}|{{{pm_error|}}}|{{{prop_mo_pa}}}|{{{pa_error|}}}}}|-}}}}}{{#if:{{{pm_footnote|}}}|{{{pm_footnote}}} }}&nbsp;[[Milliarcsecond|mas]]/[[Year|yr]] <br /> <abbr title="Declination">Dec.:</abbr>&nbsp;{{{prop_mo_dec|{{#if:{{{prop_mo|}}}|{{mwe|d|{{{prop_mo}}}|{{{pm_error|}}}|{{{prop_mo_pa}}}|{{{pa_error|}}}}}|-}}}}}{{#if:{{{pm_footnote|}}}|{{{pm_footnote}}} }}&nbsp;[[Milliarcsecond|mas]]/[[Year|yr]] </td></tr> }}<!--
+
{{#if:{{{component|}}}|
-->{{#if:{{{parallax<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Parallax]] <small>(π)</small>'''</td><td>{{{parallax}}}{{#if:{{{p_error|}}}|&nbsp;± {{{p_error}}} }}{{#if:{{{parallax_footnote|}}}|{{{parallax_footnote}}} }} [[Milliarcsecond|mas]]</td></tr>}}<!--
+
! style="text-align: center" colspan="2" {{!}} {{{component}}}
-->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}{{{parallax|}}}|<tr style="vertical-align:top;"><td>'''[[Distance (astronomy)|Distance]]'''</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}} [[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]]}}}}<!--
+
! colspan="2" style="text-align: center" | {{{component1<includeonly>|</includeonly>}}}
--></td></tr>}}<!--
+
|- style="vertical-align:top"
-->{{#if:{{{absmag_v<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Absolute magnitude|Absolute&nbsp;magnitude]]&nbsp;<small>(M<sub>V</sub>)</small>'''</td><td>{{{absmag_v}}}</td></tr>}}<!--
+
{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}{{{parallax|}}}|
-->{{#if:{{{absmag_bol<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Absolute magnitude|Absolute&nbsp;bolometric<br>magnitude]]&nbsp;<small>(M<sub>bol</sub>)</small>'''</td><td>{{{absmag_bol}}}</td></tr>}}<!--
+
{{!}} '''Distance'''
--><tr><th colspan="2" style="text-align: center">{{{component2<includeonly>|</includeonly>}}}</th></tr><!--
+
| {{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}||{{ErrorBar2|{{#expr: 3261.5638 / {{{parallax}}} }}|{{#if:{{{p_error|}}}|{{#expr: 3261.5638 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }}|0.1}} ly <br />({{ErrorBar2|{{#expr: 1000.0 / {{{parallax}}} }}|{{#if:{{{p_error|}}}|{{#expr: 1000.0 * {{{p_error}}} / ({{{parallax}}} * {{{parallax}}}) }} }}|0.1}} pc)}}<!-- -->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}|{{{dist_ly}}} ly {{#if:{{{dist_pc|}}}|<br />({{{dist_pc}}} pc)}}|{{#if:{{{dist_pc|}}}|{{{dist_pc}}} pc}}}}
-->{{#if:{{{radial_v2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Radial velocity]] <small>(R<sub>v</sub>)</small>'''</td><td>{{{radial_v2}}} km/s</td></tr>}}<!--
+
 
-->{{#if:{{{prop_mo_ra2<includeonly>|</includeonly>}}}{{{prop_mo_dec2|}}}|<tr style="vertical-align:top;"><td>'''[[Proper motion]] <small>(μ)</small>'''</td><td> <abbr title="Right Ascension">RA:</abbr>&nbsp;{{{prop_mo_ra2|-}}}&nbsp;[[Milliarcsecond|mas]]/[[Year|yr]] <br /> <abbr title="Declination">Dec.:</abbr>&nbsp;{{{prop_mo_dec2|-}}}&nbsp;[[Milliarcsecond|mas]]/[[Year|yr]] </td></tr> }}<!--
+
<noinclude>
-->{{#if:{{{parallax2<includeonly>|</includeonly>}}}|<tr style="vertical-align:top;"><td>'''[[Parallax]] <small>(π)</small>'''</td><td>{{{parallax2}}}{{#if:{{{p_error2|}}}|&nbsp;± {{{p_error2}}} }}{{#if:{{{parallax_footnote2|}}}|{{{parallax_footnote2}}} }} [[Milliarcsecond|mas]]</td></tr>}}<!--
+
-->{{#if:{{{dist_ly2<includeonly>|</includeonly>}}}{{{dist_pc2|}}}{{{parallax2|}}}|<tr style="vertical-align:top;"><td>'''[[Distance (astronomy)|Distance]]'''</td><!--
+
--><td><!--
+
-->{{#if:{{{dist_ly2<includeonly>|</includeonly>}}}{{{dist_pc2|}}}||{{ErrorBar2|{{#expr: 3261.5638 / {{{parallax2}}} }}|{{#if:{{{p_error2|}}}|{{#expr: 3261.5638 * {{{p_error}}} / ({{{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 style="vertical-align:top;"><td>'''[[Absolute magnitude|Absolute&nbsp;magnitude]]&nbsp;<small>(M<sub>V</sub>)</small>'''</td><td>{{{absmag_v2}}}</td></tr>}}<noinclude>
+
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 16:05, 29 January 2015

{{#if:{{{dist_ly}}}|
Astrometry
{{{component1}}}
Distance {{{dist_ly}}} ly