Difference between revisions of "Template:SophontCode"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
Line 2: Line 2:
 
   tables=Sophonts
 
   tables=Sophonts
 
  |fields=CONCAT('[[', name, ']] of ', homeworld)=world
 
  |fields=CONCAT('[[', name, ']] of ', homeworld)=world
  |where=code = '{{{1|Huma}}}'
+
  |where=code = '{{{1|Huma}}}' and homeworld LIKE '%{{!}}{{#replace:{{{2|}}}|'|''}}%'
 
  |default={{{1|Huma}}}
 
  |default={{{1|Huma}}}
}}
+
}}<noinclude>A template used for the Trade Map generation process, and not to be used otherwise.
 +
 
 +
[[Category: Cargo Templates|SophontsCode]]
 +
</noinclude>

Revision as of 04:01, 22 June 2019

Unknown column 'code' in 'WHERE'

A template used for the Trade Map generation process, and not to be used otherwise.