On 8/10/06, Jay R. Ashworth <jra(a)baylink.com> wrote:
Well, I think the other guy's answer was
"sure, you can use a div, you
just can't open the div in one template and close it in a different
one."
Yeah, and since nested templates apparently don't work, the end result
is divs aren't going to work.
IOW: I think that elegant may be too much to ask at
this point.
I don't like putting HTML in my wikitext either, but I think you're
gonna have to.
It's not so much a question of not wanting to pollute my wikitext with
HTML, it's more a question of actually wanting to reduce the amount of
wikitext and wanting to gain some modularity. I really want to use a
template to mark some text as having a certain attribute, then display
that attribute some particular way (ie, grey, small text on a pale
grey background or something).
I guess the most elegant way would be to define a CSS class somewhere,
then just do <div class="...">.....</div>
This all makes me think that templates trying to be "clean" by
refusing to leave dangling tags is probably going beyond what they
were designed for - straight text substitution.
Steve