On 10/14/06, Phil Boswell phil.boswell@gmail.com wrote:
It being <onlyinclude>, the intended use is that you can write a page which is intended to be transcluded and demarcate those parts of the page which should appear, rather than those parts which should not.
Can you give an example of an item in that category? That is, primarily documentation, and a tiny bit of implementation spread throughout the documentation? There are lots of templates that vaguely like this:
template code template code<noinclude> documentation categories links to other templates</noinclude>
The surprise factor of a template which is *not* included (except for a tiny bit demarcated with an undocumented tag) seems quite high. I guess I'm fearing a (misguided template) that looks like this:
<noinclude> documentation </noinclude> some code <noinclude> more documentation </noinclude> <onlyinclude> real code </onlyinclude>
It wouldn't be at all obvious to the person "debugging" why "some code" is not getting executed.[1]
All of which is to say: at Wikipedia, using this tag looks like a recipe for confusion. Other wikis can fend for themselves :)
Steve [1] yes, obviously the <noincludes> are redundant - hence "misguided"