模板:NepaliDateConverter
外观
This template is used to convert dates from Bikram Sambat, which is the official calendar of Nepal, to Gregorian dates.
使用方式
[编辑]- 语法:
{{{NepaliDateConverter|nepaliyear=year}}}
{{{NepaliDateConverter|year}}}
{{{NepaliDateConverter|nepaliyear=year|nepalimonth=month|nepaliday=day}}}
{{{NepaliDateConverter|year|month|day}}}
- year, month and day are integers referring to the Bikram Sambat
- 范例:
{{NepaliDateConverter|nepaliyear=2078}}
→ 2078 BS (2021-2022)
{{NepaliDateConverter|2078}}
→ 2078 BS (2021-2022)
{{NepaliDateConverter|nepaliyear=2078|nepalimonth=12|nepaliday=12}}
→ 26 March 2022 (12 Chaitra 2078 BS)
{{NepaliDateConverter|2078|12|12}}
→ 26 March 2022 (12 Chaitra 2078 BS)