Changes
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: {{#time:z|{{{1|{{ctime}}}}}}}>=
{{ctime:y|{{#time:Y|{{{1|{{ctime}}}}}}}}}|{{#time:Y|{{{1|{{ctime}}}}}}}|{{#time:Y|{{{1|{{ctime}}}}} -1year}}}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata>
{
"description": "To get the year number in the Chinese calendar",
"params": {
"1": {
"aliases": [
"d"
],
"label": "date",
"description": "the date in the Gregorian calendar.",
"type": "date",
"default": "today"
}
}
}
</templatedata>
</noinclude>
{{ctime:y|{{#time:Y|{{{1|{{ctime}}}}}}}}}|{{#time:Y|{{{1|{{ctime}}}}}}}|{{#time:Y|{{{1|{{ctime}}}}} -1year}}}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata>
{
"description": "To get the year number in the Chinese calendar",
"params": {
"1": {
"aliases": [
"d"
],
"label": "date",
"description": "the date in the Gregorian calendar.",
"type": "date",
"default": "today"
}
}
}
</templatedata>
</noinclude>