Difference between revisions of "Template:Today"
From Paragon Wiki Archive
(New page: {{<includeonly>subst:</includeonly>LOCALYEAR}}-{{<includeonly>subst:</includeonly>LOCALMONTH}}-{{<includeonly>subst:</includeonly>LOCALDAY2}}) |
|||
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] [ ] 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}}.