[Mediawiki-l] If statements in templates not rendering correctly