Difference between revisions of "Template:Ctime:T"

From blackwiki
Jump to navigation Jump to search
imported>Orienomesh-w
imported>Orienomesh-w
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]]<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>

Revision as of 13:14, 8 February 2015

384

to get year length

Template parameters

ParameterDescriptionTypeStatus
year1 y

The year number in Chinese calendar

Default
current year
Numberoptional