Шаблон:Mouvelian
Материал из Guild Wars 2 wiki
52 Сезон Колосса 1331
Содержание
Usage[править]
Converts a Gregorian calendar date into a Mouvelian calendar date. Only appropriate for Gregorian dates before the advent of the Living World, and obviously especially inappropriate for dates before the release of Guild Wars 2 (August 28, 2012).
Parameters[править]
- parameter 1
- Expects a timestamp in the format YYYYMMDDHHmmss. Defaults to 20181118210352, i.e.
{{CURRENTTIMESTAMP}}
.
- parameter 2
- Optional. Forces the template to return only the day, season, or year rather than the entire string. Possible values are
day
,season
, and as you might guess,year
.
Examples[править]
:''"Lion's Arch was invaded on {{Mouvelian|20140218170000}}, and liberated on {{Mouvelian|20140304170000|day}} Season of the {{Mouvelian|20140304170000|season}} of that same year."''
returns
- "Lion's Arch was invaded on 49 Сезон Зефира 1327, and liberated on 63 Season of the Zephyr of that same year."
To-do[править]
- Add support for skipping February 29th (or making February 28th twice as long) during leap years.