Steve Bennett wrote:
On 8/10/06, Jay R. Ashworth jra@baylink.com wrote:
On Thu, Aug 10, 2006 at 07:58:29AM +0200, Steve Bennett wrote:
and then: {{opendiv}} *foo {{template2}} {{closediv}}
then MediaWiki automatically closes the div tag for you, and it doesn't work.
That formatting which is opened in one included template and closed in a different one won't work was covered in depth here about 2 or 3 weeks ago; it's interrelated with whether tidy's turned on, I think; check the archives.
Yes, I know. My question is, is there any remotely elegant way I can achieve what seems like a perfectly reasonable thing to me: using a template to apply a character style to a block of text.
You do that using <div class='some_name'>. This allows you to specify the actual style (font, color, etc.) in the CSS, which is much more of a "template" in its literal meaning than {{...}} is.
{{...}} should be called "macros". :-p
Timwi