Template:Iszero/doc

iszero returns the passed value if it evaluates as non-zero. If it is zero, by default the template returns nothing, or it can return any other value you specify. Blank inputs are treated as zeros by default, but that can be overridden.

Usage
Recognizes the following parameters
 * 1) The value to check; required
 * 2)   &mdash; To have blank values not be treated as zero, set this to any non-zero value you want returned; optional
 * 3)   &mdash; Set to the value you want returned if the input value evaluates to zero; optional (defaults to blank)
 * 4)   &mdash; Set to the value you want returned if the input value is blank; optional (defaults to blank)