Template:Mouvelian
From Guild Wars 2 Wiki
Jump to navigationJump to search
55 Colossus 1337
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-dd
2018-11-26
mm/dd/yyyy
11/26/2018
dd (month name) yyyy
26 Nov 2018
(month name) dd, yyyy
November 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 55 Colossus 1337.
- "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.