Template:IfNot/doc

Overview
IfNot is a parser function template used for the logical operation "if not". It works like except its detection is in the opposite way.

Syntax
test string
 * - The test string. The template will only return true if this argument is empty.
 * - If the test string is empty the template will return this argument.
 * - (Optional) if the test string is anything but empty, the template will return this value.

Example 1 with a true argument

 * Produces

Example 2 with a false argument

 * Produces