Translations:Help:Extension:ParserFunctions/259/en

To prevent the trimming of then and else parts, see $1. Some people achieve this by using $2 instead of spaces.