Changes

Jump to navigation Jump to search
m
{{padleft:{{#switch:{{ctime:L|{{ctime:Y|{{{1|{{ctime}}}}}}}}}
|1={{#expr:{{ctime:N|{{{1|{{ctime}}}}}}}-1}}
|12={{ctime:N|{{{1|{{ctime}}}}}}}
|{{#ifexpr:{{ctime:I|{{{1|{{ctime}}}}}}}|{{ctime:M|{{{1|{{ctime}}}}}}}R|{{ctime:M|{{{1|{{ctime}}}}}}}}}}}|2}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata>
{
"description": "to get the month number in the Chinese calendar with the leap flag(R=leap).",
"params": {
"1": {
"aliases": [
"d"
],
"label": "date",
"description": "the date in the Gregorian calendar",
"type": "date"
}
}
}
</templatedata>
</noinclude>
Anonymous user

Navigation menu