On 8/5/07, Jim Hu jimhu@tamu.edu wrote:
Templates are always substituted before any other wikimarkup parsing occurs. Changing that would break everything.
That makes sense to me! Has it always been the case? I vaguely recall some time in the past where template substitution and Cite weren't happening in the desired order from the pov of some Cite users.
Well, I fudged that part a bit. ;) Actually it's more correct to say that substitution of parser tags like <ref> happens first; substitution of things in curly braces (other than subst) happens second; and then everything else happens. This way the results of parser tags/templates can be treated as wikisyntax. But they don't have to be, I don't think. Certainly parser functions don't have to output wikitext. Which is why I dodged them in my last post, because I don't know offhand exactly how they work.
In any case, as far as I know, templates have output wikitext since their inception.