It depends, how are you printing the template? There many ways to do it: you can register variables and print the template in the cycle and you will get printed the template with different values per each row. Or you can register an array to the template and then use the vb:each function in that template. See documentation about vb:each:
https://www.vbulletin.com/docs/html/...mplates_syntax