templates: move to elifs