Difference between revisions of "Template:StarData.layout"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
! Star Name !! Hierarchy !! colspan=2|Category !! Mass (Sol) !! Temp (K) !! Luminosity (Sol)
 
! Star Name !! Hierarchy !! colspan=2|Category !! Mass (Sol) !! Temp (K) !! Luminosity (Sol)
 
|-
 
|-
| style="text-align:center" rowspan=6 {{primary|{{{type}}}}} |'''{{{PrimaryName}}}''' <br> {{{type}}}
+
| rowspan=6 {{primary|{{{type}}}}} |'''{{{PrimaryName}}}''' <p style="text-align:center>{{{type}}}<p>
 
| {{{Hierarchy}}}
 
| {{{Hierarchy}}}
 
| colspan=2| {{{category}}}  
 
| colspan=2| {{{category}}}  
Line 15: Line 15:
 
| '''AU'''  
 
| '''AU'''  
 
|{{{diameter}}}  
 
|{{{diameter}}}  
| {{{safe_distance}}}  
+
| {{{SafeDistance}}}  
| {{{habit_zone_inner}}} - {{{habit_zone_outer}}}  
+
| {{{HabitZoneInner}}} - {{{HabitZoneOuter}}}  
 
| {{#expr:{{{diameter|0}}} * 100}}  
 
| {{#expr:{{{diameter|0}}} * 100}}  
 
| {{#expr:{{{diameter|0}}} * 1000}}  
 
| {{#expr:{{{diameter|0}}} * 1000}}  
Line 22: Line 22:
 
| '''Orbit #'''  
 
| '''Orbit #'''  
 
| {{AU to Orbit|{{{diameter|0}}} }}
 
| {{AU to Orbit|{{{diameter|0}}} }}
| {{AU to Orbit|{{{safe_distance|0}}} }}
+
| {{AU to Orbit|{{{SafeDistance|0}}} }}
| {{AU to Orbit|{{#expr:({{{habit zone inner|0}}}+{{{habit zone outer|0}}})/2 }} }}
+
| {{AU to Orbit|{{#expr:({{{HabitZoneInner|0}}}+{{{HabitZoneOuter|0}}})/2 }} }}
 
| {{AU to Orbit|{{#expr:{{{diameter|0}}} * 100}} }}
 
| {{AU to Orbit|{{#expr:{{{diameter|0}}} * 100}} }}
 
| {{AU to Orbit|{{#expr:{{{diameter|0}}} * 1000}} }}
 
| {{AU to Orbit|{{#expr:{{{diameter|0}}} * 1000}} }}
Line 29: Line 29:
 
! colspan=6|Remarks  
 
! colspan=6|Remarks  
 
|-
 
|-
| colspan=6| {{{PrimaryNotes}}}<noinclude>
+
| colspan=6| {{{PrimaryNotes|&nbsp;}}}<noinclude>
 
|}
 
|}
 
[[Category: Cargo Templates|StarData]]
 
[[Category: Cargo Templates|StarData]]
{{StarData.layout/doc}}
+
This template is used by the [[Template:StarData.query]] to query and format data from the [[Special:CargoTables/StarData|Star Data Table]]. This generates a section of table layout, intended to be used as part of the [[Template:MonostellarSystem]] and related templates to display interesting information about the stars in each system.
 +
 
 +
This template is not intended to be use outside of that context, and editing the template may cause the whole chain of templates to break. Please edit with caution.
 
<noinclude>
 
<noinclude>

Latest revision as of 12:44, 22 August 2020

Star Name Hierarchy Category Mass (Sol) Temp (K) Luminosity (Sol)
{{{PrimaryName}}}

{{{type}}}

{{{Hierarchy}}} {{{category}}} {{{mass}}} {{{TempMin}}} - {{{TempMax}}} {{{luminosity}}}
Unit Diameter Min Distance Hab Zone Jump Shadow M-Drive Limit
AU {{{diameter}}} {{{SafeDistance}}} {{{HabitZoneInner}}} - {{{HabitZoneOuter}}} 0 0
Orbit #  *  *  *  *  *
Remarks
 

This template is used by the Template:StarData.query to query and format data from the Star Data Table. This generates a section of table layout, intended to be used as part of the Template:MonostellarSystem and related templates to display interesting information about the stars in each system.

This template is not intended to be use outside of that context, and editing the template may cause the whole chain of templates to break. Please edit with caution.