Forum:How to use transcluded page's name on the parent article

I want to translude an article, but I want to make show the name of the article I have transluded, not the name of the article that transludes it.
 * Is it likely to change, if not, just SUBST: it --  Random Time  14:03, October 14, 2012 (UTC)
 * It doesn't work that way. Though, if you transclude a page, you already know its name...--PedroM 14:11, October 14, 2012 (UTC)
 * @Randomtime It needs to be dynamic.
 * @PedroM It is required for the edit button in this template. Here is the article that uses it. The edit button depends on the "name" parameter, so if some vandal change the name parameter, it won't work.