Mobile app version of vmapp.org
Login or Join
Cofer257

: Mediawiki 1.16: Leaving timestamp in template ~~~~ 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

@Cofer257

Posted in: #Mediawiki

~~~~ 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?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Cofer257

2 Comments

Sorted by latest first Latest Oldest Best

 

@Shakeerah822

This also may help and allows to format the timestamp more precisely:


{{REVISIONDAY}}
{{REVISIONDAY2}}
{{REVISIONMONTH}}
{{REVISIONMONTH1}}
{{REVISIONYEAR}}
{{REVISIONTIMESTAMP}}
{{REVISIONUSER}}


And this describes how to use the above magic words referring another pages.

10% popularity Vote Up Vote Down


 

@Reiling115

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme