Difference between revisions of "Template:Ctime:n"

From blackwiki
Jump to navigation Jump to search
imported>Orienomesh-w
imported>Orienomesh-w
Line 1: Line 1:
 
{{#expr:
 
{{#expr:
{{ctime:t|{{{1|{{ctime:Y}}}}}|1}}*({{{2|12}}}>1)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|1}}*({{ctime:N|{{{1|{{ctime}}}}}}}>1)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|2}}*({{{2|12}}}>2)+  
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|2}}*({{ctime:N|{{{1|{{ctime}}}}}}}>2)+  
{{ctime:t|{{{1|{{ctime:Y}}}}}|3}}*({{{2|12}}}>3)+  
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|3}}*({{ctime:N|{{{1|{{ctime}}}}}}}>3)+  
{{ctime:t|{{{1|{{ctime:Y}}}}}|4}}*({{{2|12}}}>4)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|4}}*({{ctime:N|{{{1|{{ctime}}}}}}}>4)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|5}}*({{{2|12}}}>5)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|5}}*({{ctime:N|{{{1|{{ctime}}}}}}}>5)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|6}}*({{{2|12}}}>6)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|6}}*({{ctime:N|{{{1|{{ctime}}}}}}}>6)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|7}}*({{{2|12}}}>7)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|7}}*({{ctime:N|{{{1|{{ctime}}}}}}}>7)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|8}}*({{{2|12}}}>8)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|8}}*({{ctime:N|{{{1|{{ctime}}}}}}}>8)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|9}}*({{{2|12}}}>9)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|9}}*({{ctime:N|{{{1|{{ctime}}}}}}}>9)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|10}}*({{{2|12}}}>10)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|10}}*({{ctime:N|{{{1|{{ctime}}}}}}}>10)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|11}}*({{{2|12}}}>11)+
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|11}}*({{ctime:N|{{{1|{{ctime}}}}}}}>11)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|12}}*({{{2|12}}}>12)}}<noinclude>[[Category:Chinese Traditional Date and Time]]<templatedata>
+
{{ctime:t|{{ctime:Y|{{{1|{{ctime}}}}}}}|12}}*({{ctime:N|{{{1|{{ctime}}}}}}}>12)}}<noinclude>[[Category:Chinese Traditional Date and Time]]<templatedata>
 
{
 
{
 
"description": "to get the new month day in the Chinese calendar",
 
"description": "to get the new month day in the Chinese calendar",
Line 17: Line 17:
 
"1": {
 
"1": {
 
"aliases": [
 
"aliases": [
"y"
+
"d"
 
],
 
],
"label": "year",
+
"label": "date",
"description": "The year number in Chinese calendar",
+
"description": "the date in the Gregorian calendar",
"type": "number"
+
"type": "date"
},
 
"2": {
 
"aliases": [
 
"m"
 
],
 
"label": "month",
 
"description": "The month number in Chinese calendar",
 
"type": "number"
 
 
}
 
}
 
}
 
}
 
}
 
}
 
</templatedata></noinclude>
 
</templatedata></noinclude>

Revision as of 07:39, 4 January 2015

59

to get the new month day in the Chinese calendar

Template parameters

ParameterDescriptionTypeStatus
date1 d

the date in the Gregorian calendar

Dateoptional