Difference between revisions of "Template:Ctime:p"
Jump to navigation
Jump to search
imported>Orienomesh-w |
imported>Orienomesh-w |
||
| Line 1: | Line 1: | ||
{{#switch:{{#expr:trunc((({{{1 | {{ctime:Y}} }}}-1864) mod 10) / 2 )}}|0=Mù|1=Huǒ|2=Tǔ|3=Jīn|Shuǐ}}{{#switch: | {{#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}} | {{#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 | + | |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]] |
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "to get the phase-zodiac | + | "description": "to get the phase-zodiac", |
"params": { | "params": { | ||
"1": { | "1": { | ||
| Line 12: | Line 12: | ||
"label": "year", | "label": "year", | ||
"description": "the year number in the Chinese calendar", | "description": "the year number in the Chinese calendar", | ||
| − | "type": "number" | + | "type": "number", |
| + | "default": "current year" | ||
} | } | ||
} | } | ||
Revision as of 12:51, 8 February 2015
Huǒmǎnián
to get the phase-zodiac
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| year | 1 y | the year number in the Chinese calendar
| Number | optional |