Difference between revisions of "Template:WorldSummaryComment"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 2: Line 2:
 
  |O:=* The governance of this world is from {{World name from Hex|{{#sub:{{{1|}}}|2}} }}
 
  |O:=* The governance of this world is from {{World name from Hex|{{#sub:{{{1|}}}|2}} }}
 
  |C:=* The world has a colony on  {{World name from Hex|{{#sub:{{{1|}}}|2}} }}
 
  |C:=* The world has a colony on  {{World name from Hex|{{#sub:{{{1|}}}|2}} }}
  |{{#cargo_query: tables=TradeSummary|fields=description|where=code HOLDS CONCAT('{{{1}}}')|default=Missing code ''{{{1}}}''}} }}<noinclude>
+
  |{{#cargo_query: tables=TradeSummary|fields=description, category|where=code HOLDS CONCAT('{{{1}}}')
 +
  |default=Missing code ''{{{1}}}''|format=list |delimeter=&nbsp;}}
 +
}}<noinclude>
 
[[Category:Templates|World summary]]
 
[[Category:Templates|World summary]]
 
[[Category:DPL Templates|World summary]]
 
[[Category:DPL Templates|World summary]]

Revision as of 13:27, 15 May 2016

Incorrect parameter count in the call to native function 'CONCAT'

Expands the additional Trade classification comments(e.g. Da, Pz, Mr, etc) into a text summary from Trade classification/summaries. This is designed to be used with the Template:World summary as a lead in.

Parameters are: