Szablon:Kalendarz

Z L6F
Wersja z dnia 00:34, 27 lip 2015 autorstwa Gnomex (dyskusja | edycje) (Utworzono nową stronę "{{#ifeq: {{{2|}}} | day | {{padleft:{{#expr:({{#time:z|{{{1|}}}}} mod 90) + 1 + {{#ifexpr:({{#time:z|{{{1|}}}}}+1) > 360|{{#expr:({{#time:z|{{{1|}}}}} mod 360) + 1}}|0}}...")
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)
Przejdź do nawigacji Przejdź do wyszukiwania

51 Sezonu Latorośli 1339

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 20260819132155, 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 {{Kalendarz|20140218170000}}, and liberated on {{Kalendarz|20140304170000|day}} Sezonu {{Kalendarz|20140304170000|season}} of that same year."''

returns

"Lion's Arch was invaded on 49 Sezonu Zefira 1327, and liberated on 63 Sezonu Zefira of that same year."

To-do

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