Add conditional templates