Template:Today: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (New page: {{<includeonly>subst:</includeonly>LOCALYEAR}}-{{<includeonly>subst:</includeonly>LOCALMONTH}}-{{<includeonly>subst:</includeonly>LOCALDAY2}}) |
imported>Sekoia 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-11-23
[edit] [ ] 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}}.