Difference between revisions of "Template:Ctime:p"

From blackwiki
Jump to navigation Jump to search
imported>Orienomesh-w
(Created page with '{{#expr:trunc((({{{1 | {{ctime:Y}} }}}-1864) mod 10) / 2 )+1}}{{#switch: {{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12 +1}} |10=X|11=Y|12=Z|{{#expr:({{{1 | {{ctim...')
 
imported>Orienomesh-w
Line 1: Line 1:
{{#expr:trunc((({{{1 | {{ctime:Y}} }}}-1864) mod 10) / 2 )+1}}{{#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 +1}}
+
{{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12}}
|10=X|11=Y|12=Z|{{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12 +1}}}}
+
|0=shǔ|1=níu|2=hǔ|3=tù|4=lóng|5=shé|6=mǎ|7=yáng|8=hóu|9=|10=gǒu|zhū}}nián<noinclude>[[Category:Chinese Traditional Date and Time]]
<noinclude>[[Category:Chinese Traditional Date and Time]]
 
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 04:23, 3 January 2015

Huǒmǎnián

to get the phase-zodiac number

Template parameters

ParameterDescriptionTypeStatus
year1 y

the year number in the Chinese calendar

Numberoptional