Template:Mouvelian

From Guild Wars 2 Wiki
Jump to: navigation, search

78 Scion 1332

Usage[edit]

Converts a Gregorian calendar date into a Mouvelian calendar date. Only appropriate for Gregorian dates after the advent of the Living World, and obviously especially inappropriate for dates before the release of Guild Wars 2 (August 28, 2012).

Parameters[edit]

unnamed parameter 1
The Gregorian date you wish to convert. The Date may be formated in any way that is supported by #time. An exempt 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, and season-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 78 Scion 1332.
"Lion's Arch was invaded on 49 Zephyr 1327, and liberated on 63 Zephyr of that same year."

To-do[edit]

  • Add support for skipping February 29th (or making February 28th twice as long) during leap years.