Difference between revisions of "Template:Ctime:r"
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.) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#ifexpr:{{solarterm | + | {{#ifexpr:{{solarterm|{{ctime:Y|{{{1|{{ctime}}}}}}}|{{ctime:R|{{{1|{{ctime}}}}}}}}}={{#time:z|{{{1|{{ctime}}}}}}}|0 |
|{{#ifexpr: {{ctime:R|{{{1|{{ctime}}}}}}} =24 | |{{#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|{{#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 | + | |{{#expr:{{solarterm|{{ctime:Y|{{{1|{{ctime}}}}}}}|{{#expr:{{ctime:R|{{{1|{{ctime}}}}}}}+1}}}}-{{#time:z|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata> |
{ | { | ||
| − | "description": "", | + | "description": "to get the days before the next solar term", |
"params": { | "params": { | ||
"1": { | "1": { | ||
| − | "aliases": ["d"], | + | "aliases": [ |
| + | "d" | ||
| + | ], | ||
"label": "date", | "label": "date", | ||
"description": "the date in Gregorian calendar", | "description": "the date in Gregorian calendar", | ||
Latest revision as of 23:59, 24 March 2015
Expression error: Unrecognized punctuation character "[".
to get the days before the next solar term
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| date | 1 d | the date in Gregorian calendar | Date | optional |