Difference between revisions of "Template:SophontCode"

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=Sophonts
 
   tables=Sophonts
|fields=CONCAT('[[', name, ']] of ', homeworld)=world
+
|fields=CONCAT('[[', name, ']] of ', homeworld)=world
|where=code = '{{{1|Huma}}}' and homeworld LIKE '%{{!}}{{#replace:{{{2|}}}|'|''}}%'
+
|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.  
 
}}<noinclude>A template used for the Trade Map generation process, and not to be used otherwise.  
 
   
 
   
 
[[Category: Cargo Templates|SophontsCode]]
 
[[Category: Cargo Templates|SophontsCode]]
 
</noinclude>
 
</noinclude>

Revision as of 13:08, 22 June 2019

Unknown column 'code' in 'WHERE'

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