Basically outputting several widgets when using templates as the one you shared should be possible. The only thing that you should be aware is that each widget should have unique name on the page.
Frankly we are not aware of the templating framework that you are using.
So try to add some index as suffix to the name of the widget to guarantee it is unique and let me know your findings.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI