Difference between revisions of "Template:StarData.query"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 1: Line 1:
 
{{#cargo_query:
 
{{#cargo_query:
 
  tables=StarData
 
  tables=StarData
  |fields=type, mass, diameter, temperature_min=TempMin, temperature_max=TempMax, luminosity, safe_distance, habit_zone_inner, habit_zone_outer, category,
+
  |fields=type, mass, diameter, temperature_min=TempMin, temperature_max=TempMax, luminosity, safe_distance=SafeDistance, habit_zone_inner=HabitZoneInner, habit_zone_outer=HabitZoneOuter, category,
 
   CONCAT('{{#replace:{{{name|}}}|'|''}}')=name,
 
   CONCAT('{{#replace:{{{name|}}}|'|''}}')=name,
 
   CONCAT('{{#replace:{{{PrimaryName|}}}|'|''}}')=PrimaryName,
 
   CONCAT('{{#replace:{{{PrimaryName|}}}|'|''}}')=PrimaryName,

Revision as of 11:26, 22 August 2020

No results


Parameters are:

  • primary = Stellar classification of the primary (e.g. G2 V)
  • name = Name of the system, defaults to name of the page.
  • PrimaryName = name of the primary, defaults to "<name> Primary" if not defined
  • PrimaryNotes = Notes or remarks about the primary (optional)
  • Hierarchy = Order of the stars in the system: Primary, Secondary, Tertiary, ...