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.
{{#expr: {{#switch: {{#expr: ({{{1|{{#time:Y|+8 hours}}}}} - 1900) mod 19}}
|1=19|2=8|3=-3|4=16|5=5|6=-6|7=13|8=2|9=-9|10=1011=-1|12=18|13=7|14=-5|15=14|16=4|17=-7|18=12|0}}+
{{#switch: {{{1|{{#time:Y|+8 hours}}}}}
|1985=29|2104=2|1902|1903|1908|1911|1919|1920|1927|1928|1936|1938|1944|1952|1960
|1963|1964|1971|1972|1979|1980|1990|1991|1998|2000|2016|2028|2060|2096|2103|2105=1
|1913|1949|1950|1969|1973|1974|1975|1977|1986|1993|1994|2002|2005|2011|2013|2021|2030|2037
|2038|2045|2046|2049|2064|2065|2069|2070|2073|2081|2082|2083|2089|2097|2098|2099|2100=-1
|0 }}}}<noinclude>[[Category:Chinese traditional date and time templates]]<templatedata>
{
"description": "To get the date of January",
"params": {
"1": {
"aliases": [
"y"
],
"label": "year",
"description": "Year number",
"type": "number",
"required": true
}
}
}
</templatedata></noinclude>
|1=19|2=8|3=-3|4=16|5=5|6=-6|7=13|8=2|9=-9|10=1011=-1|12=18|13=7|14=-5|15=14|16=4|17=-7|18=12|0}}+
{{#switch: {{{1|{{#time:Y|+8 hours}}}}}
|1985=29|2104=2|1902|1903|1908|1911|1919|1920|1927|1928|1936|1938|1944|1952|1960
|1963|1964|1971|1972|1979|1980|1990|1991|1998|2000|2016|2028|2060|2096|2103|2105=1
|1913|1949|1950|1969|1973|1974|1975|1977|1986|1993|1994|2002|2005|2011|2013|2021|2030|2037
|2038|2045|2046|2049|2064|2065|2069|2070|2073|2081|2082|2083|2089|2097|2098|2099|2100=-1
|0 }}}}<noinclude>[[Category:Chinese traditional date and time templates]]<templatedata>
{
"description": "To get the date of January",
"params": {
"1": {
"aliases": [
"y"
],
"label": "year",
"description": "Year number",
"type": "number",
"required": true
}
}
}
</templatedata></noinclude>