Difference between revisions of "Template:Ctime:r"
Jump to navigation
Jump to search
imported>Orienomesh-w |
imported>Orienomesh-w |
||
| Line 2: | Line 2: | ||
|{{#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 Traditional Date | + | |{{#expr:{{solarterm|{{ctime:Y|{{{1|{{ctime}}}}}}}|{{#expr:{{ctime:R|{{{1|{{ctime}}}}}}}+1}}}}-{{#time:z|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese Traditional Date]]<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", | ||
Revision as of 13:02, 8 February 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 |