8,756
edits
mNo edit summary |
(forgot to add body. Also, made base limb info readable without mousing over) |
||
Line 106: | Line 106: | ||
-->{{#if: {{{bodytype|}}} | -->{{#if: {{{bodytype|}}} | ||
|<div style="padding:1em 0em;"><hr></div><b>Limbs* ({{{bodytype}}}):</b> | |<div style="padding:1em 0em;"><hr></div><b>Limbs* ({{{bodytype}}}):</b> | ||
<ul><li>Body [[List of Body Parts#Body|(Body)]]</li> | |||
{{#invoke:CargoQuery|main | {{#invoke:CargoQuery|main | ||
|table=Anatomies=A | |table=Anatomies=A | ||
| where = Name="{{{bodytype}}}" | | where = Name="{{{bodytype}}}" | ||
|fields=CONCAT("<li> [[List of Body Parts#", BaseType, "{{!}}", | |fields=CONCAT("<li>", COALESCE(CONCAT(Laterality, " "), ""), Type, " [[List of Body Parts#", BaseType, "{{!}}(",BaseType,")]]", (CASE WHEN childType <> "" THEN CONCAT("<ul><li>", COALESCE(CONCAT(childLaterality, " "), ""), childType, " [[List of Body Parts#", childBaseType, "{{!}}(", childBaseType, ")]]</ul>") ELSE "" END))=Page | ||
| template=single query result | | template=single query result | ||
| limit = 20 | | limit = 20 | ||
| default = Oops, this anatomy doesn't exist![[Category:Pages with missing anatomies]] | | default = Oops, this anatomy doesn't exist![[Category:Pages with missing anatomies]] | ||
}} | }}</ul> | ||
<small>* Excludes limbs granted via mutations</small>}} | <small>* Excludes limbs granted via mutations</small>}} | ||
</includeonly><noinclude><!---- | </includeonly><noinclude><!---- |