Difference between revisions of "Template:Ctime:L"
Jump to navigation
Jump to search
imported>Orienomesh-w |
imported>Cydebot m (Robot - Moving category Chinese Traditional Date to Category:Chinese traditional date templates per CFD at Wikipedia:Categories for discussion/Log/2015 March 10.) |
||
| Line 9: | Line 9: | ||
|14={{#expr:{{#switch:{{#expr: trunc(({{{1|{{ctime:Y}}}}}-1905)/19)}}|1=-36|2=0|3=18|4=-68|5=48|6=-36|7=1|8=18|9=18|10=48|-116}}/32 mod 2 +8}} | |14={{#expr:{{#switch:{{#expr: trunc(({{{1|{{ctime:Y}}}}}-1905)/19)}}|1=-36|2=0|3=18|4=-68|5=48|6=-36|7=1|8=18|9=18|10=48|-116}}/32 mod 2 +8}} | ||
|17={{#expr:{{#switch:{{#expr: trunc(({{{1|{{ctime:Y}}}}}-1905)/19)}} |1=-36|2=0|3=18|4=-68|5=48|6=-36|7=1|8=18|9=18|10=48|-116}}/64 mod 2 +6}} | |17={{#expr:{{#switch:{{#expr: trunc(({{{1|{{ctime:Y}}}}}-1905)/19)}} |1=-36|2=0|3=18|4=-68|5=48|6=-36|7=1|8=18|9=18|10=48|-116}}/64 mod 2 +6}} | ||
| − | |0}}}}<noinclude>[[Category:Chinese | + | |0}}}}<noinclude>[[Category:Chinese traditional date templates]] |
<templatedata> | <templatedata> | ||
{ | { | ||
Latest revision as of 23:59, 24 March 2015
0
To get the leap month of the year. 0 = no leap
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| year | 1 y | The year number in the Chinese Calendar
| Number | optional |