Difference between revisions of "Template:Ctime:T"

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.)
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
 
-({{ctime:l|{{{1|{{ctime:Y}}}}}}}/1024 mod 2)
 
-({{ctime:l|{{{1|{{ctime:Y}}}}}}}/1024 mod 2)
 
-({{ctime:l|{{{1|{{ctime:Y}}}}}}}/2048 mod 2)
 
-({{ctime:l|{{{1|{{ctime:Y}}}}}}}/2048 mod 2)
-({{ctime:L|{{ctime:Y}}}}<>0)*({{ctime:l|{{{1|{{ctime:Y}}}}}}}/4096 mod 2-30)}}<noinclude>[[Category:Chinese Traditional Date and Time]]<templatedata>
+
-({{ctime:L|{{ctime:Y}}}}<>0)*({{ctime:l|{{{1|{{ctime:Y}}}}}}}/4096 mod 2-30)}}<noinclude>[[Category:Chinese traditional date templates]]<templatedata>
 
{
 
{
"description": "to get the new month day in the Chinese calendar",
+
"description": "to get year length",
 
"params": {
 
"params": {
 
"1": {
 
"1": {
Line 22: Line 22:
 
"label": "year",
 
"label": "year",
 
"description": "The year number in Chinese calendar",
 
"description": "The year number in Chinese calendar",
"type": "number"
+
"type": "number",
 +
"default": "current year"
 
}
 
}
 
}
 
}
 
}
 
}
 
</templatedata></noinclude>
 
</templatedata></noinclude>

Latest revision as of 23:59, 24 March 2015

384

to get year length

Template parameters

ParameterDescriptionTypeStatus
year1 y

The year number in Chinese calendar

Default
current year
Numberoptional