Template:Selfsubst/doc

From Bonkipedia

This template provides base support for automatic information that is self-updated on every page save. While normal articles or templates can use magic words like {{REVISIONTIMESTAMP}}, those have no effect in scripts or css files that are used in raw form.

For details, see the documentation on concrete implementations of this concept: