Template:Today/doc

From Homecoming Wiki
< Template:Today
Revision as of 05:11, 3 July 2008 by imported>Sekoia (historical) (New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== <nowiki>{{subst:Today}}</nowiki> The above will transclude into today's date,...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.

Usage

{{subst:Today}}

The above will transclude into today's date, in YYYY-MM-DD format (which is handy for sorting). By using subst:, it will transclude into text that won't change. If you omit subst:, it will look like garbage: {{subst:LOCALYEAR}}-{{subst:LOCALMONTH}}-{{subst:LOCALDAY2}}.