Difference between revisions of "Template:World summary sophont"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | {{#cargo_query: | |
− | | | + | tables=Sophonts |
− | + | |fields=name, CONCAT('{{#if: {{#pos:{{{1}}}|(|0}} |Home|Present}}') = Home, CONCAT('{{#if: {{{1|}}}|{{#sub:{{{1|}}}|-1}}|0}}')= Percent, CONCAT(name) = text | |
− | + | |where=code = "{{#if: {{{1|}}}|{{#if: {{#pos:{{{1}}}|(|0}} | {{#sub:{{{1}}}|1|4}} | {{#sub:{{{1}}}|0|-1}} }}|}}" | |
− | + | |format=template | |
− | | | + | |template=World summary sophont.layout |
− | + | }}<noinclude> | |
A template to expand the sophonts, one at a time. Used as part of the World Summary list at the start of a world article | A template to expand the sophonts, one at a time. Used as part of the World Summary list at the start of a world article | ||
[[Category:Text Expansion Templates|World]][[Category: Cargo Templates|World]] | [[Category:Text Expansion Templates|World]][[Category: Cargo Templates|World]] | ||
</noinclude> | </noinclude> |
Revision as of 23:59, 12 April 2016
Unknown column 'code' in 'where clause'
A template to expand the sophonts, one at a time. Used as part of the World Summary list at the start of a world article