Brion Vibber wrote:
Yes, they do completely different things:
One of them makes the enclosed part only appear during a template inclusion. The other makes an inclusion include only that part.
I don't understand. Could someone explain this in an unambiguous way?
"The other makes an inclusion include only that part."
If I take this literally, my understanding of this would be:
As soon as a template contains an <onlyinclude>, then the default mode of transcluding template content changes from "transcluding" to "not transcluding" for that whole template.
Um, this would require a prescan of the whole template searching for the existence of <onlyinclude> in order to determine the initial mode ("transcluding content" versus "not transcluding content").
I fear I'm in error. But then what is it?
Puzzled,
--Ligulem