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|{{{1|{{ctime:Y}}}}}|1}}*({{{2|{{ctime:N}}}}}>1)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|2}}*({{{2|12}}}>2)+  
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|2}}*({{{2|{{ctime:N}}}}}>2)+  
{{ctime:t|{{{1|{{ctime:Y}}}}}|3}}*({{{2|12}}}>3)+  
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|3}}*({{{2|{{ctime:N}}}}}>3)+  
{{ctime:t|{{{1|{{ctime:Y}}}}}|4}}*({{{2|12}}}>4)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|4}}*({{{2|{{ctime:N}}}}}>4)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|5}}*({{{2|12}}}>5)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|5}}*({{{2|{{ctime:N}}}}}>5)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|6}}*({{{2|12}}}>6)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|6}}*({{{2|{{ctime:N}}}}}>6)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|7}}*({{{2|12}}}>7)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|7}}*({{{2|{{ctime:N}}}}}>7)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|8}}*({{{2|12}}}>8)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|8}}*({{{2|{{ctime:N}}}}}>8)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|9}}*({{{2|12}}}>9)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|9}}*({{{2|{{ctime:N}}}}}>9)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|10}}*({{{2|12}}}>10)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|10}}*({{{2|{{ctime:N}}}}}>10)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|11}}*({{{2|12}}}>11)+
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|11}}*({{{2|{{ctime:N}}}}}>11)+
{{ctime:t|{{{1|{{ctime:Y}}}}}|12}}*({{{2|12}}}>12)}}<noinclude>[[Category:Chinese Traditional Date and Time]]<templatedata>
+
{{ctime:t|{{{1|{{ctime:Y}}}}}|12}}*({{{2|{{ctime:N}}}}}>12)}}<noinclude>[[Category:Chinese Traditional Date]]<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": [
"d"
+
"y"
 
],
 
],
"label": "date",
+
"label": "year",
"description": "the date in the Gregorian calendar",
+
"description": "the year number",
"type": "date"
+
"type": "number",
 +
"default": "current year"
 +
},
 +
"2": {
 +
"aliases": [
 +
"m"
 +
],
 +
"label": "month",
 +
"description": "the month number",
 +
"type": "number",
 +
"default": "current month"
 
}
 
}
 
}
 
}
 
}
 
}
 
</templatedata></noinclude>
 
</templatedata></noinclude>

Revision as of 12:46, 8 February 2015

59

to get the new month day in the Chinese calendar

Template parameters

ParameterDescriptionTypeStatus
year1 y

the year number

Default
current year
Numberoptional
month2 m

the month number

Default
current month
Numberoptional