It seems to me all we need here is the range, you could refer to the number in the template using `{{this}}` and construct the class like this: `pagi{{this}}`