Template:Ferret query: Difference between revisions
m 1 revision imported: PS to FS migration |
added category and documentation |
||
Line 1: | Line 1: | ||
There has been {{#cargo_query:tables=Ferret|fields=COUNT(DISTINCT name)}} in business in total (alive and Valhalla) | <includeonly>There has been {{#cargo_query:tables=Ferret|fields=COUNT(DISTINCT name)}} in business in total (alive and Valhalla) | ||
{{#cargo_query:tables=Ferret|fields=COUNT(DISTINCT name)|where=(valhalla="0" OR valhalla IS NULL)}} ferrets are alive in the business, {{#cargo_query:tables=Ferret|fields=COUNT(DISTINCT name)|where=(valhalla="1" OR valhalla IS NOT NULL)}} ferrets in the business have gone to Valhalla. | {{#cargo_query:tables=Ferret|fields=COUNT(DISTINCT name)|where=(valhalla="0" OR valhalla IS NULL)}} ferrets are alive in the business, {{#cargo_query:tables=Ferret|fields=COUNT(DISTINCT name)|where=(valhalla="1" OR valhalla IS NOT NULL)}} ferrets in the business have gone to Valhalla.</includeonly><noinclude> | ||
{{/doc}} | |||
[[Category:Cargo query templates]] | |||
</noinclude> |
Latest revision as of 23:29, 5 June 2025
This template can be used to display the amount of ferrets in the business (alive and valhalla).
Usage
To use, place {{Ferret query}}
on a page.
Examples
{{Ferret query}}
produces:
There has been 70 in business in total (alive and Valhalla)
58 ferrets are alive in the business, 12 ferrets in the business have gone to Valhalla.