Difference between revisions of "Template:Starbox astrometry"

From BattleTech - Black Diamond
Jump to: navigation, search
Line 4: Line 4:
 
|-
 
|-
 
! 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|}}}|
 
! 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>

Revision as of 16:11, 29 January 2015

{{#if:{{{posx}}}| {{#if:{{{distance}}}|
Astrometry
Jump map pos {{{posx}}} / {{{posy}}}
Distance
from Sol
{{{distance}}} ly