Difference between revisions of "Template:World summary sophont"

From Traveller Wiki - Science-Fiction Adventure in the Far future
Jump to navigation Jump to search
(Created page with "* {{#if: {{#pos:{{{1}}}|(|0}} | is the homeworld to [[{{#sub:{{{1}}}|1|-1}}]], a sophont race|{{{1}}} }}<noinclude> A template to expand the sophonts, one at a time Cate...")
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
* {{#if: {{#pos:{{{1}}}|(|0}} | is the homeworld to [[{{#sub:{{{1}}}|1|-1}}]], a [[sophont]] race|{{{1}}} }}<noinclude>
+
{{#cargo_query:
A template to expand the sophonts, one at a time
+
  tables=Sophonts
[[Category:Text Expansion Templates]]
+
  |fields=name, CONCAT('{{#if: {{#pos:{{{1}}}|(|0}} |Home|Present}}') = Home, CONCAT('{{#if: {{{1|}}}|{{#sub:{{{1|}}}|-1}}|0}}')= Percent, CONCAT(name) = text, existing, status
 +
  |where=code = "{{#if: {{{1|}}}|{{#if: {{#pos:{{{1}}}|(|0}} | {{#sub:{{{1}}}|1|4}} | {{#sub:{{{1}}}|0|-1}} }}|}}"
 +
  |format=template
 +
  |template=World summary sophont.layout
 +
  |default=
 +
}}<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. See also [[Template:World summary sophont.layout]]
 +
[[Category:Text Expansion Templates|World]][[Category: Cargo Templates|World]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:46, 18 August 2019

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. See also Template:World summary sophont.layout