Flachdachs (talk | contribs) (repair counting of unreleased) |
(Group by page name to filter duplicates.) |
||
Line 13: | Line 13: | ||
}}}}{{#vardefine:unreleased|{{#cargo_query:tables=Creatures |
}}}}{{#vardefine:unreleased|{{#cargo_query:tables=Creatures |
||
|where= _pageName <> "Human" AND (Released="Unreleased" OR Released="" OR Released IS NULL) {{#var:queryAdd}} |
|where= _pageName <> "Human" AND (Released="Unreleased" OR Released="" OR Released IS NULL) {{#var:queryAdd}} |
||
+ | |group by=_pageName |
||
|fields=COUNT(*) |
|fields=COUNT(*) |
||
|no html |
|no html |
Revision as of 01:05, 18 October 2018
Usage
There are two optional parameters:
- Taxonomic Group. Will exclusively select creatures of that taxonomic group (e.g. Mammals, Birds, Dinosaurs).
- list one or more of the following properties (separated by a comma or space) that all have to be true:
- rideable
- breedable
- tameable
- aerial
- aquatic
- terrestrial
- omnivore
- herbivore
- carnivore
- carrion-feeder
- piscivore
- frugivore
This query uses Special:CargoTables/Creatures.
Example
{{CreatureTable|Mammals}}
Error: No field named "ReleasedPS4" found for any of the specified database tables.
There are 38 MammalsExpression error: Unexpected < operator. (including variants).
{{CreatureTable|Fish|rideable aquatic}}
Error: No field named "ReleasedPS4" found for any of the specified database tables.
There are 3 FishExpression error: Unexpected < operator. (including variants).