Board Thread:Lua Help/@comment-5068292-20150115153725/@comment-24473195-20150124082939

Well, yes and no. The problem is that once a template is transcluded into another page the name of the page changes. I suppose it could be possible with lua if we get the parent frame's name. Anyway, for now the simplest solution you can add: The pagename will always be replaced using that.