Template:if then show

Script error: The function "main" does not exist.