Difference between revisions of "Template:Ctime:r"

From blackwiki
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 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]]<templatedata>
+
|{{#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",
 
"description": "to get the days before the next solar term",

Latest revision as of 23:59, 24 March 2015

Expression error: Unrecognized punctuation character "[".

to get the days before the next solar term

Template parameters

ParameterDescriptionTypeStatus
date1 d

the date in Gregorian calendar

Dateoptional