Check for values in period and conditionally check for that in the template.