Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

~~~~ is used to leave your timestamp with your name and date. I want to put this in a template so that whoever uses the template will have have the timestamp printed out as well.

Is this possible?

share|improve this question

migrated from stackoverflow.com May 14 '11 at 14:35

2 Answers

It is possible when substing the template. For example ~~<includeonly>~~</includeonly> will display as ~~~~ when the template is transcluded normally, and as a timestamp when substed.

share|improve this answer

Not without rewriting some of the code I don't think. ~~~~ will always be changed by the parser into the signature, and not be saved in the wikitext as ~~~~

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.