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}}}' and homeworld LIKE '%{{!}}{{#replace:{{{2|}}}|'|''}}%'
+
|where=code = '{{{1|Huma}}}' {{#if: {{{{2|}}}|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.  

Revision as of 11:03, 15 July 2019

Unknown column 'code' in 'WHERE'

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