I just spent a number of hours banging my head on something I can't
understand even when I read over and over the template, transclusion and
substitution help pages.
Let's say I have a composite page transcluding a number of subpages. And
let's say that the subpages use a template, but parts of it, should be
visible only when the subpage is transcluded into the composite page, not
in the subpage itself.
Is that possible?
To give a rough idea of what I'm aiming, each subpage is in the form:
title (link to subpage) (link to subpage discussion)
blah blah blah
and the two links should not be visible when looking at the subpage
directly but should be visible when looking at the composite page.