On 10/14/06, Steve Bennett stevage@gmail.com wrote:
Compatibility with what? Sounds like almost no one is aware of onlyinclude's existence, let alone brave enough to use an undocumented, unannounced feature...?
I've used it, and since it's been around since 1.5, I'm sure there are many other uses too.
What happens with this text:
<noinclude>foo</noinclude> <onlyinclude>boo</onlyinclude> <includeonly>moo</includeonly> schmoo
If you looked at the template, it would say foo boo schmoo. If you include that template, it would say boo. (The same is true if you swap the order of onlyinclude and includeonly.)
And what about this:
<onlyinclude><noinclude>foo</noinclude></onlyinclude>
The template would say foo. If used, it would be blank.
What if there are multiple <onlyinclude> tags:
<onlyinclude>foo</onlyinclude> <onlyinclude>boo</onlyinclude> moo
The template would say foo boo moo. If used, it would say foo boo.
There is a test wiki at http://test.wikipedia.org/ where you could try it.
Angela