Difference between revisions of "Template:StellarDataQuery"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 4: Line 4:
 
  |fields=name, sector, subsector, era, hex, world, uwp, pcode, TradeSummary.description, sophonts, details, ix, ex, cx,  
 
  |fields=name, sector, subsector, era, hex, world, uwp, pcode, TradeSummary.description, sophonts, details, ix, ex, cx,  
 
     nobility, bases, zone, popmul, belts, giants, worlds, allegiance, stars, wtn, ru, gwp, trade, passengers, starport_build,
 
     nobility, bases, zone, popmul, belts, giants, worlds, allegiance, stars, wtn, ru, gwp, trade, passengers, starport_build,
     army, port_size, SPA, CONCAT('{{{name|}}}')= worldName
+
     army, port_size, SPA, CONCAT('{{#replace:{{{name|}}}|'|'}}')= worldName
 
  |where=StellarData.world="{{#titleparts: {{PAGENAME}}}}"
 
  |where=StellarData.world="{{#titleparts: {{PAGENAME}}}}"
 
  |format=template
 
  |format=template

Revision as of 11:36, 15 April 2016

No results This is a Cargo query template. This template queries data from the StellarData table. The data for this table is entered by using the Template:StellarData.

The query on this template uses Template: StellarData.layout to format the raw data into a page layout form.