Changes
m
Robot - Moving category Chinese Traditional Date and Time to Category:Chinese traditional date and time templates per CFD at Wikipedia:Categories for discussion/Log/2015 March 10.
{{#switch:
{{#expr:({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)mod10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:
{{#expr:({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)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:(({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)mod5 *12 + ({{ctime:R|{{{1|{{ctime}}}}}}}/2round0))mod 10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:{{#expr:(({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)mod5 *12 + ({{ctime:R|{{{1|{{ctime}}}}}}}/2round0))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:Z|{{{1|{{ctime}}}}}}}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}}}}}}}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"
},
"2": {
"aliases": [
"h"
],
"label": "hour",
"description": "oclock"
}
}
}
</templatedata>
</noinclude>
{{#expr:({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)mod10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:
{{#expr:({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)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:(({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)mod5 *12 + ({{ctime:R|{{{1|{{ctime}}}}}}}/2round0))mod 10}}|0=J|1=Y|2=B|3=D|4=W|5=Z|6=G|7=X|8=R|K}}{{#switch:{{#expr:(({{#time:Y|{{{1|{{ctime}}}}}}}+({{ctime:R|{{{1|{{ctime}}}}}}}=24)-1864)mod5 *12 + ({{ctime:R|{{{1|{{ctime}}}}}}}/2round0))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:Z|{{{1|{{ctime}}}}}}}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}}}}}}}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"
},
"2": {
"aliases": [
"h"
],
"label": "hour",
"description": "oclock"
}
}
}
</templatedata>
</noinclude>