[MediaWiki-l] Nested templates / substitutions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[MediaWiki-l] Nested templates / substitutions

Emanuele D'Arrigo
Dear all,

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.

Kind regards,

MediaWiki-l mailing list
To unsubscribe, go to: