Template:Today: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(New page: {{<includeonly>subst:</includeonly>LOCALYEAR}}-{{<includeonly>subst:</includeonly>LOCALMONTH}}-{{<includeonly>subst:</includeonly>LOCALDAY2}})
 
imported>Sekoia (historical)
No edit summary
 
Line 1: Line 1:
{{<includeonly>subst:</includeonly>LOCALYEAR}}-{{<includeonly>subst:</includeonly>LOCALMONTH}}-{{<includeonly>subst:</includeonly>LOCALDAY2}}
{{<includeonly>subst:</includeonly>LOCALYEAR}}-{{<includeonly>subst:</includeonly>LOCALMONTH}}-{{<includeonly>subst:</includeonly>LOCALDAY2}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 05:08, 3 July 2008

2024-12-22

[edit] [purge] Documentation

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}}.