Difference between revisions of "Template:Starbox astrometry"

From BattleTech - Black Diamond
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
</noinclude>
 
</noinclude>
 
|-
 
|-
! style="background-color: #FFFFC0; text-align: center;" colspan="2" | {{#if:{{{no_heading|}}}||[[Astrometry]]}}
+
! style="background-color: #FFFFC0; text-align: center;" colspan="2" | {{#if:{{{no_heading|}}}||Astrometry}}
|-
+
|-  
{{#if:{{{component|}}}|
+
{{#if:{{{component<includeonly>|</includeonly>}}}|
! style="text-align: center" colspan="2" {{!}} {{{component}}}
+
! style="text-align:center" colspan="2" {{!}} {{{component}}}
 
}}
 
}}
|-
 
! colspan="2" style="text-align: center" | {{{component1<includeonly>|</includeonly>}}}
 
 
|- style="vertical-align:top"
 
|- style="vertical-align:top"
{{#if:{{{dist_ly<includeonly>|</includeonly>}}}{{{dist_pc|}}}{{{parallax|}}}|
+
{{#if:{{{posx<includeonly>|</includeonly>}}}|
{{!}} '''Distance'''
+
! style="text-align:left" {{!}} Jump&nbsp;map&nbsp;pos
| {{#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}}}}
+
{{!}} {{{posx}}}&nbsp;/&nbsp;{{{posy}}}
 
+
}}
 +
|- style="vertical-align:top"
 +
{{#if:{{{distance<includeonly>|</includeonly>}}}|
 +
! style="text-align:left" {{!}} Distance<br><small>(from Sol)</small>
 +
{{!}} {{{distance}}}&nbsp;ly
 +
}}
 
<noinclude>
 
<noinclude>
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:41, 29 January 2015

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