Template:ESDate/Doc
The UESPWiki – Your source for The Elder Scrolls since 1995
Summary[edit]
Displays either today's date or the date of your choice using the Elder Scrolls date format.
Parameters[edit]
Parameter | Scope | Description |
---|---|---|
showyear | optional | Specify any value to show the year as part of the date. Note that even if a year is explicitly passed, it will not be displayed unless this parameter is used. This allows you to pass a real-world date as YMD and get the correct weekday without displaying the year unnecessarily. |
Date Styles | ||
In the event of multiple date styles being used in the same call, the template will use the first valid one it finds, in the following order: | ||
month day dow (year) |
optional | Specify a date using the numeric month, day, and weekday. dow should be 0 (Sundas) through 6 (Loredas). year is optional and can be any text you wish. |
year month day |
optional | Specify a date using the numerical year, month, and day. |
date | optional | Specify a date in an arbitrary format such as "November 14, 2024". This can be in any format accepted by PHP's strtotime() function. |
No parameters or invalid |
Display today's date. |
Examples[edit]
{{ESDate}}
Turdas, 14th of Sun's Dusk
{{ESDate|date=January 1, 2010}}
Fredas, 1st of Morning Star
{{ESDate|month=12|day=25|year={{CURRENTYEAR}}}}
Middas, 25th of Evening Star
{{ESDate|month=12|day=25|dow=5|year=3E 486|showyear=yes}}
Fredas, 25th of Evening Star, 3E 486