Template:CurrentDate: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
Line 5: Line 5:
  | date = {{#formatdate:2009-12-20}}
  | date = {{#formatdate:2009-12-20}}
  | iso = 2009-12-20
  | iso = 2009-12-20
| first={{#formatdate:2009-11-15}}
  | #default =  
  | #default =  
}}<noinclude>
}}<noinclude>
{{CurrentDate/doc}}
{{CurrentDate/doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 00:26, 8 October 2012

This template returns the last date of the current dates (2009-11-15-2009-12-20) in play at Absit Omen.

Syntax:
{{CurrentDate|value}}
Values accepted are: date, iso, first, firstiso, range
Example
{{CurrentDate|date}} returns "2009-12-20"
{{CurrentDate|iso}} returns "2009-12-20"
{{CurrentDate|first}} returns "2009-11-15"
{{CurrentDate|firstiso}} returns ""
{{CurrentDate|range}} returns ""
Bulbgraph.png
Note: There is no default value for the CurrentDate template. If a value is not entered, nothing will be displayed.