Changes
Jump to navigation
Jump to search
m
Robot - Moving category Chinese Traditional Date to Category:Chinese traditional date templates per CFD at Wikipedia:Categories for discussion/Log/2015 March 10.
{{#ifexpr:{{solarterm|{{ctime:Y|{{{1|{{ctime}}}}}}}|{{ctime:R|{{{1|{{ctime}}}}}}}}}={{#time:z|{{{1|{{ctime}}}}}}}|0
|{{#ifexpr: {{ctime:R|{{{1|{{ctime}}}}}}} =24
|{{#expr:{{solarterm|{{#expr:{{ctime:Y|{{{1|{{ctime}}}}}}}+1}}|1}}+{{#time:z|{{ctime:Y|{{{1|{{ctime}}}}}}}-12-31}}+1-{{#time:z|{{{1|{{ctime}}}}}}}}}
|{{#expr:{{solarterm|{{ctime:Y|{{{1|{{ctime}}}}}}}|{{#expr:{{ctime:R|{{{1|{{ctime}}}}}}}+1}}}}-{{#time:z|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata>
{
"description": "to get the days before the next solar term",
"params": {
"1": {
"aliases": [
"d"
],
"label": "date",
"description": "the date in Gregorian calendar",
"type": "date"
}
}
}
</templatedata>
</noinclude>
|{{#ifexpr: {{ctime:R|{{{1|{{ctime}}}}}}} =24
|{{#expr:{{solarterm|{{#expr:{{ctime:Y|{{{1|{{ctime}}}}}}}+1}}|1}}+{{#time:z|{{ctime:Y|{{{1|{{ctime}}}}}}}-12-31}}+1-{{#time:z|{{{1|{{ctime}}}}}}}}}
|{{#expr:{{solarterm|{{ctime:Y|{{{1|{{ctime}}}}}}}|{{#expr:{{ctime:R|{{{1|{{ctime}}}}}}}+1}}}}-{{#time:z|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata>
{
"description": "to get the days before the next solar term",
"params": {
"1": {
"aliases": [
"d"
],
"label": "date",
"description": "the date in Gregorian calendar",
"type": "date"
}
}
}
</templatedata>
</noinclude>