Difference between revisions of "Template:Ctime:z"
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.) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{#ifexpr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{#time:Y|{{{1|{{ctime}}}}}}}}} < 0 | {{#ifexpr: {{#time:z|{{{1|{{ctime}}}}}}}-{{ctime:y|{{#time:Y|{{{1|{{ctime}}}}}}}}} < 0 | ||
|{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}+ {{#time:z|{{#time:Y|{{{1|{{ctime}}}}}}}-1-1 -1days}}+2-{{ctime:y|{{ctime:Y|{{{1|{{ctime}}}}}}}}}}} | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}+ {{#time:z|{{#time:Y|{{{1|{{ctime}}}}}}}-1-1 -1days}}+2-{{ctime:y|{{ctime:Y|{{{1|{{ctime}}}}}}}}}}} | ||
| − | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}+1-{{ctime:y|{{ctime:Y|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese | + | |{{#expr: {{#time:z|{{{1|{{ctime}}}}}}}+1-{{ctime:y|{{ctime:Y|{{{1|{{ctime}}}}}}}}}}}}}<noinclude>[[Category:Chinese traditional date templates]] |
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 11: | Line 11: | ||
], | ], | ||
"label": "date", | "label": "date", | ||
| − | "description": "the date in the Gregorian calendar. | + | "description": "the date in the Gregorian calendar.", |
| − | "type": "date" | + | "type": "date", |
| + | "default": "today" | ||
} | } | ||
} | } | ||
Latest revision as of 23:59, 24 March 2015
76
To get the day of the year in the Chinese calendar.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| date | 1 d | the date in the Gregorian calendar.
| Date | optional |