Changes
Jump to navigation
Jump to search
no edit summary
Year of {{#switch:
{{#expr:((({{{1 | {{ctime:Y}} }}}-1864) mod 10) / 2 )mod 5}}
|0=[[Wood (Wu Xing)|wooden]]
|1=[[Fire (Wu Xing)|fiery]]
|2=[[Earth (Wu Xing)|earthy]]
|3=[[Metal (Wu Xing)|metallic]]
|[[Water (Wu Xing)|watery]]|}} {{#switch:
{{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12 }}
|0=[[Rat (zodiac)|Rat]]|1=[[Ox (zodiac)|Ox]]|2=[[Tiger (zodiac)|Tiger]]|3=[[Rabbit (zodiac)|Rabbit]]
|4=[[Dragon (zodiac)|Dragon]]|5=[[Snake (zodiac)|Snake]]|6=[[Horse (zodiac)|Horse]]
|7=[[Goat (zodiac)|Goat]]|8=[[Monkey (zodiac)|Monkey]]|9=[[Rooster (zodiac)|Rooster]]
|10=[[Dog (zodiac)|Dog]]|[[Pig (zodiac)|Pig]]}}
<noinclude>[[Category:Chinese traditional date templates]]
<templatedata>
{
"description": "to get the phases and zodiac",
"params": {
"1": {
"aliases": [
"y"
],
"label": "y",
"description": "the year in the Chinese calendar",
"type": "number",
"default": "current year"
}
}
}
</templatedata>
</noinclude>
{{#expr:((({{{1 | {{ctime:Y}} }}}-1864) mod 10) / 2 )mod 5}}
|0=[[Wood (Wu Xing)|wooden]]
|1=[[Fire (Wu Xing)|fiery]]
|2=[[Earth (Wu Xing)|earthy]]
|3=[[Metal (Wu Xing)|metallic]]
|[[Water (Wu Xing)|watery]]|}} {{#switch:
{{#expr:({{{1 | {{ctime:Y}} }}}-1864) mod 12 }}
|0=[[Rat (zodiac)|Rat]]|1=[[Ox (zodiac)|Ox]]|2=[[Tiger (zodiac)|Tiger]]|3=[[Rabbit (zodiac)|Rabbit]]
|4=[[Dragon (zodiac)|Dragon]]|5=[[Snake (zodiac)|Snake]]|6=[[Horse (zodiac)|Horse]]
|7=[[Goat (zodiac)|Goat]]|8=[[Monkey (zodiac)|Monkey]]|9=[[Rooster (zodiac)|Rooster]]
|10=[[Dog (zodiac)|Dog]]|[[Pig (zodiac)|Pig]]}}
<noinclude>[[Category:Chinese traditional date templates]]
<templatedata>
{
"description": "to get the phases and zodiac",
"params": {
"1": {
"aliases": [
"y"
],
"label": "y",
"description": "the year in the Chinese calendar",
"type": "number",
"default": "current year"
}
}
}
</templatedata>
</noinclude>