Board Thread:Support Requests - Getting Technical/@comment-4189499-20130620114755

I want to add a timestamp to a template so that when it is put on a page, the time it was put there can also be seen. Now, I've found the template I want to add this to, and I know the template which can put on the needed timestamp through substitution, but I don't know how to make it so the template is only substituted when the template it has been put in has been transcluded onto another page. Just putting substitutes the template when I publish the template page, putting the time I published the template rather than keeping the code for the other template until that template is put on another page and then substituting the code in to be the time put on the final page. Is there any way to make a template not substitute inside another template until it has been put onto another page? Or, if that's not possible, is there some other way to put a timestamp inside a template to tell the time it was placed on a page? 