Handle variables in template for `decanat-engine`.