Template:Today/doc: Difference between revisions
Jump to navigation
Jump to search
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,...) |
imported>Zombie Man (historical) m (+Cat:Editors Tags Template) |
||
Line 8: | Line 8: | ||
<includeonly><!-- | <includeonly><!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
</includeonly> | [[Category:Editors Tags Templates]]</includeonly> |
Latest revision as of 02:12, 19 February 2010
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}}.