Maybe you could instatiate A in B as {{A|B}}, in C as {{A|C}} etc. to get C
in A, when A gets into I?
"Jay R. Ashworth" wrote:
I have a template ("A").
This template is instantiated on many pages ("A"->"B",
"A"->"C",
"A"->"D").
Those pages are in turn transcluded onto other pages:
"A"->"B"->"E"
"A"->"B"->"F"
"A"->"B"->"G"
"A"->"C"->"H"
"A"->"C"->"I"
"A"->"C"->"J"
"A"->"D"->"K"
"A"->"D"->"L"
What I'm trying to accomplish is to include a link on "A" that, when
the user is looking at "I" will permit them to edit "C".
I had been hoping that I could include the PAGENAMEE magic word in the
template ("A") as part of an HTTP edit link, but alas, PAGENAMEE (and
presumably all the other magic words that pertain to pages) bind so
late in the parse chain that they point to "I" in that situation.
In a situation like this, is there any reasonable way to grab the name
of "C" from inside the code of "A"? Something with subst:, maybe?
The actual pages are
A:
http://tbkinfo.net/wiki/index.php/Template:Infobox_Show
C:
http://tbkinfo.net/wiki/index.php/O%27Maddy%27s_House
I:
http://tbkinfo.net/wiki/index.php/O%27Maddy%27s
Cheers,
-- jra