Template:CurrentDate: Difference between revisions
From Absit Omen Lexicon
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
| day = 15 | | day = 15 | ||
| month = | | month = 01 | ||
| year = | | year = 2011 | ||
| date = {{#formatdate: | | date = {{#formatdate:2011-01-15}} | ||
| iso = | | iso = 2011-01-15 | ||
| first={{#formatdate:2010- | | first={{#formatdate:2010-11-15}} | ||
| #default = | | #default = | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 05:38, 9 August 2015
This template returns the last date of the current dates (2010-11-15-2011-01-15) in play at Absit Omen.
- Syntax:
- {{CurrentDate|value}}
- Values accepted are: date, iso, first, firstiso, range
- Example
- {{CurrentDate|date}} returns "2011-01-15"
- {{CurrentDate|iso}} returns "2011-01-15"
- {{CurrentDate|first}} returns "2010-11-15"
- {{CurrentDate|firstiso}} returns ""
- {{CurrentDate|range}} returns ""
The above documentation is transcluded from Template:CurrentDate/doc. (edit | history) |