Wow, what a quick response here!
Thanks for the advice - some good tips here, and more for me to read up on.
You know, in addition to that, I’m now wondering if I’ve been getting a bit hung with this whole ’template within a template’ way of thinking. Perhaps it would be just as easy for the user if I make 2 chunks out of that above code:
chunk 1: "boxopen" (the 4 opening divs)
chunk 2: "boxclose" (the 4 closing tags)
Then just tell them to enclose the text that they want in a box like this:
[glow=yellow,2,300]{{boxopen}} Your text here {{boxclose}}[/glow]
..and then for good measure, they should swipe over the whole lot and from the ’format’ dropdown, change paragraph to div. (OK, we’re getting a bit divtastic now, but at least it will be more valid code)
I’ll have a read and play around with what you’ve all suggested, but in the meantime, it’s good to know there are several ways to approach this. Thanks again.