Template:If/doc

With this template the parser functions of the ParserFunctions collection with names starting with "#if" can be used in a way such that they do not strip spaces and newlines from the "then" and "else" part. Spaces still do not affect the outcome of the condition.

This template can be substituted.

Usage

 * gives "". Notice the pair of vertical bars surrounding the empty first parameter.
 * gives " p "
 * gives ""
 * gives ""
 * gives ""

Compare:
 * gives ""
 * gives ""
 * gives ""
 * gives ""
 * gives ""