Template:Ferret query: Difference between revisions

m 1 revision imported: PS to FS migration
Gorasuhl (talk | contribs)
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>