Template:IsFluid
Jump to navigation
Jump to search
This template can be used to check if provided page belongs to Category:Fluids
Returns 1 if True or empty string if False
Usage
{{IsFluid|Water}} → 1
{{IsFluid|Packaged Water}} →
{{#vardefine: ingredient | Fuel}} {{#if: {{IsFluid|{{#var: ingredient}} }} | fluid | solid}} → fluid
The above documentation is transcluded from Template:IsFluid/doc. (edit | history)