Changes
Jump to navigation
Jump to search
m
Robot - Moving category Chinese Traditional Date to Category:Chinese traditional date templates per CFD at Wikipedia:Categories for discussion/Log/2015 March 10.
{{#switch:{{#expr:trunc((({{{1 | {{ctime:Y}} }}}-1864) mod 10) / 2 )}}|0=Mù|1=Huǒ|2=Tǔ|3=Jīn|Shuǐ}}{{#switch:
{{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12}}
|0=shǔ|1=níu|2=hǔ|3=tù|4=lóng|5=shé|6=mǎ|7=yáng|8=hóu|9=jī|10=gǒu|zhū}}nián<noinclude>[[Category:Chinese traditional date templates]]
<templatedata>
{
"description": "to get the phase-zodiac",
"params": {
"1": {
"aliases": [
"y"
],
"label": "year",
"description": "the year number in the Chinese calendar",
"type": "number",
"default": "current year"
}
}
}
</templatedata>
</noinclude>
{{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12}}
|0=shǔ|1=níu|2=hǔ|3=tù|4=lóng|5=shé|6=mǎ|7=yáng|8=hóu|9=jī|10=gǒu|zhū}}nián<noinclude>[[Category:Chinese traditional date templates]]
<templatedata>
{
"description": "to get the phase-zodiac",
"params": {
"1": {
"aliases": [
"y"
],
"label": "year",
"description": "the year number in the Chinese calendar",
"type": "number",
"default": "current year"
}
}
}
</templatedata>
</noinclude>