Template:Extra info: Difference between revisions

sort by basetype
(forgot to add body. Also, made base limb info readable without mousing over)
(sort by basetype)
Line 111: Line 111:
  | where = Name="{{{bodytype}}}"
  | where = Name="{{{bodytype}}}"
  |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
  |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
| orderBy=BaseType
  | template=single query result
  | template=single query result
  | limit = 20
  | limit = 20