Difference between revisions of "Template:StarData.query"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
 
Line 13: Line 13:
 
[[Category: Cargo Templates|StellarData]]
 
[[Category: Cargo Templates|StellarData]]
  
 +
This template is used to display the data for one star using the [[Template:StarData.layout]] to create a set of rows in a table. The StarData.layout is not a complete navigation box. It is intended to be used with the [[Template:MonostellarSystem]] and other star information navigation boxes.
  
Parameters are:
+
This template uses the Cargo query processing to query the [[Special:CargoTables/StarData|Star Data Table]].
 +
 
 +
Parameters to this template are:
  
 
* primary = Stellar classification of the primary (e.g. G2 V)
 
* primary = Stellar classification of the primary (e.g. G2 V)
* name = Name of the system, defaults to name of the page.  
+
* name = Name of the system.  
* PrimaryName = name of the primary, defaults to "<name> Primary" if not defined
+
* PrimaryName = name of the primary
 
* PrimaryNotes = Notes or remarks about the primary (optional)
 
* PrimaryNotes = Notes or remarks about the primary (optional)
 
* Hierarchy = Order of the stars in the system: Primary, Secondary, Tertiary, ...
 
* Hierarchy = Order of the stars in the system: Primary, Secondary, Tertiary, ...

Latest revision as of 12:41, 22 August 2020

No results

This template is used to display the data for one star using the Template:StarData.layout to create a set of rows in a table. The StarData.layout is not a complete navigation box. It is intended to be used with the Template:MonostellarSystem and other star information navigation boxes.

This template uses the Cargo query processing to query the Star Data Table.

Parameters to this template are:

  • primary = Stellar classification of the primary (e.g. G2 V)
  • name = Name of the system.
  • PrimaryName = name of the primary
  • PrimaryNotes = Notes or remarks about the primary (optional)
  • Hierarchy = Order of the stars in the system: Primary, Secondary, Tertiary, ...