Add template repeat for number variants.