Predefinição:ESDate/Doc

A UESPWiki – Sua fonte de The Elder Scrolls desde 1995

Summary

Displays either today's date or the date of your choice using the Elder Scrolls date format.

Parameters

ESDate
Parâmetero Escopo Descrição
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 "abril 27, 2024". This can be in any format accepted by PHP's strtotime() function.
No parameters
or invalid
Display today's date.

Examples

{{ESDate}}

Loredas, 27º of Rain's Hand

{{ESDate|date=January 1, 2010}}

Fredas, 1º of Morning Star

{{ESDate|month=12|day=25|year={{CURRENTYEAR}}}}

Middas, 25º of Evening Star

{{ESDate|month=12|day=25|dow=5|year=3E 486|showyear=yes}}

Fredas, 25º of Evening Star, 3E 486