Difference between revisions of "Template:Chinese Year"
Jump to navigation
Jump to search
imported>Orienomesh-w |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch:{{{1| | + | {{#switch:{{{1|iso}}} |
|iso={{#time: F d, Y | |iso={{#time: F d, Y | ||
|{{ctime:x|{{{2|{{ctime:Y}}}}}|1|1}}}} <small>to</small> {{#time: F d, Y | |{{ctime:x|{{{2|{{ctime:Y}}}}}|1|1}}}} <small>to</small> {{#time: F d, Y | ||
Line 10: | Line 10: | ||
| {{#ifexpr: {{#time:z|{{ctime:x|{{#expr:{{{2|{{ctime:Y}}}}}+1}} |0|1|1}} }} > {{solarterm|{{#expr:{{{2|{{ctime:Y}}}}}+1}}|3}}|a leap year with dual Vernal Commences({{zh|t=两頭春|s=两头春}})|a common year with early Vernal Commences({{zh|t=年頭春|s=年头春}})}}}} | | {{#ifexpr: {{#time:z|{{ctime:x|{{#expr:{{{2|{{ctime:Y}}}}}+1}} |0|1|1}} }} > {{solarterm|{{#expr:{{{2|{{ctime:Y}}}}}+1}}|3}}|a leap year with dual Vernal Commences({{zh|t=两頭春|s=两头春}})|a common year with early Vernal Commences({{zh|t=年頭春|s=年头春}})}}}} | ||
|l={{#ifexpr:{{ctime:01|{{{2|{{ctime:Y}} }}} }} | |l={{#ifexpr:{{ctime:01|{{{2|{{ctime:Y}} }}} }} | ||
− | <{{ctime:01|{{#expr:{{{2|{{ctime:Y}}}}}+1}}}}|13|12}} months or {{#expr: -{{ctime:01|{{{2|{{ctime:Y}} }}} }}+{{ctime:01|{{#expr:{{{2|{{ctime:Y}}}}}+1}}}} +{{#time:z|{{{2|{{ctime:Y}}}}}-12-31}} +1}} days}} <noinclude>[[Category:Chinese | + | <{{ctime:01|{{#expr:{{{2|{{ctime:Y}}}}}+1}}}}|13|12}} months or {{#expr: -{{ctime:01|{{{2|{{ctime:Y}} }}} }}+{{ctime:01|{{#expr:{{{2|{{ctime:Y}}}}}+1}}}} +{{#time:z|{{{2|{{ctime:Y}}}}}-12-31}} +1}} days}} <noinclude>[[Category:Chinese traditional date and time templates]]<templatedata> |
{ | { | ||
"description": "", | "description": "", |
Latest revision as of 07:13, 28 March 2015
January 30, 2025 to February 16, 2026
Parameter | Description | Type | Status | |
---|---|---|---|---|
format | 1 f | the output format of the Chinese year | String | optional |
year | 2 y | The year number in Chinese calendar | Number | optional |