Difference between revisions of "Template:Today/doc"

From Ouroboros Portal
Jump to: navigation, search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== <nowiki>{{subst:Today}}</nowiki> The above will transclude into tod...")
 
(No difference)

Latest revision as of 05:35, 2 September 2012

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