Difference between revisions of "Template:Starbox astrometry"

From BattleTech - Black Diamond
Jump to: navigation, search
(Created page with "<noinclude>{{Astro talk}} {| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; padding: 3px;" </noinclude><tr><th style="background-color: #FFFFC0; te...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Astro talk}}
+
<noinclude>
 
{| 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; 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><!--
+
</noinclude>
--><tr><th colspan="2" style="text-align: center">{{{component1<includeonly>|</includeonly>}}}</tr><!--
+
|-
-->{{#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>}}<!--
+
! style="background-color: #FFFFC0; text-align: center;" colspan="2" | {{#if:{{{no_heading|}}}||Astrometry}}
-->{{#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:{{{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>}}<!--
+
{{#if:{{{component<includeonly>|</includeonly>}}}|
-->{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}{{{parallax|}}}|<tr style="vertical-align:top;"><td>'''[[Distance (astronomy)|Distance]]'''</td><!--
+
! style="text-align:center" colspan="2" {{!}} {{{component}}}
--><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]]}}}}<!--
+
|- style="vertical-align:top"
--></td></tr>}}<!--
+
{{#if:{{{posx<includeonly>|</includeonly>}}}|
-->{{#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>}}<!--
+
! style="text-align:left" {{!}} Jump&nbsp;map&nbsp;pos
-->{{#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>}}<!--
+
{{!}} {{{posx}}}&nbsp;/&nbsp;{{{posy}}}
--><tr><th colspan="2" style="text-align: center">{{{component2<includeonly>|</includeonly>}}}</th></tr><!--
+
}}
-->{{#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>}}<!--
+
|- style="vertical-align:top"
-->{{#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> }}<!--
+
{{#if:{{{distance<includeonly>|</includeonly>}}}|
-->{{#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>}}<!--
+
! style="text-align:left" {{!}} Distance<br><small>(from Sol)</small>
-->{{#if:{{{dist_ly2<includeonly>|</includeonly>}}}{{{dist_pc2|}}}{{{parallax2|}}}|<tr style="vertical-align:top;"><td>'''[[Distance (astronomy)|Distance]]'''</td><!--
+
{{!}} {{{distance}}}&nbsp;ly
--><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]]}}}}<!--
+
<noinclude>
--></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>
+
 
|}
 
|}
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:41, 29 January 2015

Astrometry
{{{component}}}
Jump map pos {{{posx}}} / {{{posy}}}
Distance
(from Sol)
{{{distance}}} ly