Template:WorldSummaryComment

From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 19:27, 10 August 2017 by Maksim-Smelchak (talk | contribs)
Jump to navigation Jump to search
Error 1582: Incorrect parameter count in the call to native function 'CONCAT' (localhost)

Function: CargoSQLQuery::run Query: SELECT CONCAT(description, IF(LENGTH(category)>0, CONCAT('',category,''),)) FROM `mw_cargo__TradeSummary` WHERE `mw_cargo__TradeSummary`.`_ID` IN (SELECT `_rowID` FROM `mw_cargo__TradeSummary__code` WHERE `_value`= CONCAT() '{{{1}}}') ORDER BY CONCAT(description, IF(LENGTH(category)>0, CONCAT('',category,''),)) LIMIT 100

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: