Template:CurrentDate: Difference between revisions

From Absit Omen Lexicon
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
  | day = 30
  | day = 30
  | month =  06
  | month =  09
  | year = 2011
  | year = 2011
  | date = {{#formatdate:2011-06-30}}
  | date = {{#formatdate:2011-09-30}}
  | iso = 2011-06-30
  | iso = 2011-09-30
  | first={{#formatdate:2011-04-01}}
  | first={{#formatdate:2011-07-01}}
  | #default =  
  | #default =  
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 23:57, 13 November 2017

[view] [edit] [history] [purge] Documentation icon Template documentation

This template returns the last date of the current dates (2011-07-01-2011-09-30) in play at Absit Omen.

Syntax:
{{CurrentDate|value}}
Values accepted are: date, iso, first, firstiso, range
Example
{{CurrentDate|date}} returns "2011-09-30"
{{CurrentDate|iso}} returns "2011-09-30"
{{CurrentDate|first}} returns "2011-07-01"
{{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.

The above documentation is transcluded from Template:CurrentDate/doc. (edit | history)
Please add categories and interwikis to the /doc subpage. Subpages of this template.