Use parameters in template conditions

Meet the new if-param helper. It allows you to introduce logic to your templates by checking the value of any of your parameters.