Template:Mouvelian
From Guild Wars 2 Wiki
Jump to navigationJump to search
66 Phoenix 1339
Usage[edit]
Converts a Gregorian calendar date into a Mouvelian calendar date. Dates BE are not supported at present and all dates are assumed to be AE.
Parameters[edit]
- 1 (unnamed parameter)
- The gregorian date you wish to convert. The date may be formated in any way that is supported by #time. An excerpt of usable formats may also be found in the table below. Defaults to the current date.
Format Example yyyy-mm-dd2018-11-26mm/dd/yyyy11/26/2018dd (month name) yyyy26 Nov 2018(month name) dd, yyyyNovember 26, 2018
- display
- Optional. Forces the template to display a section of the date rather than the entire string. Possible values are
day,season,year,day-season, andseason-year.
Examples[edit]
Today is {{Mouvelian}}.
''"Lion's Arch was invaded on {{Mouvelian|18 February 2014}}, and liberated on {{Mouvelian|04 Mar 2014|display=day-season}} of that same year."''
returns
- Today is 66 Phoenix 1339.
- "Lion's Arch was invaded on 49 Zephyr 1327, and liberated on 63 Zephyr of that same year."
Notes[edit]
- The following assumptions are made in this template due to insufficient in game information on the details of date conversion calculations being available.
- Years are assumed to have 366 days if they are leap years or 365 days otherwise.
- The date of the leap day is assumed the given date of the day that preceeds it.
- The five days are assumed to be part of the last month of the calendar year.