even than it is nearly the same. just more if loops. (or i misunderstand you completely)
if you need something around, use loop before my_field, and one after like my example.
without example what you like to do it is hard to see what i understand wrong.
could you provide a sample what code you use and what you expect for frontend.