Template talk:Wikipedia

From DoomWiki.org

Date[edit]

How to make it use the timestamp of the moment the template is added to a page, rather than the moment the template is created (first attempt) or the moment the page is refreshed (second)? Obviously, just putting five tildes result in the former, using templates or magic words to solve this first problem result in the latter, and trying various schemes to force the use of subst: or safesubst: to solve this second problem results in broken code. Meh. --Gez 12:17, 23 September 2011 (UTC)

Ouch, I guess I didn't test it enough.  When you say "the moment the template is created", do you mean most recent revision of the template markup?  In other words, if I had applied it to some article a month from now, it would still say September 23?    Ryan W 17:33, 23 September 2011 (UTC)
Yep. I mean, just look at your code; or at least how it was saved... --Gez 17:50, 23 September 2011 (UTC)
Hmmm, well, you found a method that works without screwing up the existing uses.  I was hoping it wouldn't be a two-step process for the editor at the end, but as far as I can tell from the MediaWiki documentation, there's no way to do what I attempted (without everybody having to remember to subst).    Ryan W 19:49, 23 September 2011 (UTC)