Open main menu

Changes

m
{{#switch:{{#expr:{{ctime:c|{{ctime:Y|{{{1|{{ctime}}}}}}}}}mod 10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:
{{#expr:{{ctime:c|{{ctime:Y|{{{1|{{ctime}}}}}}}}}mod 12}}|0=Z|1=C|2=Y|3=M|4=C|5=S|6=W|7=W|8=S|9=Y|10=X|H}}-{{#switch:
{{#expr:({{ctime:c|{{ctime:Y|{{{1|{{ctime}}}}}}}}}mod5*12+{{ctime:M|{{{1|{{ctime}}}}}}}+1)mod10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:
{{#expr:({{ctime:c|{{ctime:Y|{{{1|{{ctime}}}}}}}}}mod5*12+{{ctime:M|{{{1|{{ctime}}}}}}}+1)mod12}}|0=Z|1=C|2=Y|3=M|4=C|5=S|6=W|7=W|8=S|9=Y|10=X|H}}-{{#switch:
{{#expr:({{ctime:Z|{{{1|{{ctime}}}}}}}-({{{2|{{ctime:H}}}}}<3))mod10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:
{{#expr:({{ctime:Z|{{{1|{{ctime}}}}}}}-({{{2|{{ctime:H}}}}}<3))mod12}}|0=Z|1=C|2=Y|3=M|4=C|5=S|6=W|7=W|8=S|9=Y|10=X|H}}-{{#switch:
{{#expr:({{ctime:Z|{{{1|{{ctime}}}}}}}mod5*12+{{ctime:S|{{{2|{{ctime:H}}}}}}})mod10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:
{{#expr:({{ctime:Z|{{{1|{{ctime}}}}}}}mod5*12+{{ctime:S|{{{2|{{ctime:H}}}}}}})mod12}}|0=Z|1=C|2=Y|3=M|4=C|5=S|6=W|7=W|8=S|9=Y|10=X|H}}
<noinclude>[[Category:Chinese traditional date and time templates]]
<templatedata>
{
"description": "",
"params": {
"1": {
"aliases": [
"d"
],
"label": "date",
"description": "the date in the Gregorian calendar",
"type": "date"
},
"2": {
"aliases": [
"h"
],
"label": "hour",
"description": "the oclock",
"type": "number"
}
}
}
</templatedata>
</noinclude>
Anonymous user