Template:Today/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Today (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

{{subst:today}} permanently inserts today's date into an article.

To insert a 'live' (continuously updated) date, use {{date}} instead.

[edit] Usage

  • {{subst:today}} causes today's date to be written into a page. The date will not change.

The template must be called with subst:.

In subsequent edits to the page, the date will appear as {{date|2008-06-09}}, and — subject to the date reformatting rules available to {{date}} — in direct views as 9 June 2008.

[edit] Examples