Difference between revisions of "Template:DateUnpackC"

From Ephemeral Film Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>{{#switch:{{#len:{{{yr}}}}}  
<includeonly>{{#switch:{{#len:{{{yr}}}}}  
|4={{DateC Year Released|{{{yr}}}}}
|4=[[Category:{{{yr}}} Movies]]
|2=<noinclude>length is two digits but not "19"
|2=<noinclude>length is two digits but not "19"
</noinclude>{{#ifeq: {{{yr}}} | 19 | [[Category:Error Year is 19]] | {{DateC Year Released|19{{{yr}}}}}}}
</noinclude>{{#ifeq: {{{yr}}} | 19 | [[Category:Error Year is 19]] | [[Category:{{{yr}}} Movies]]}}
|5|6|7|8|9={{#switch:{{#count:{{{yr}}}|19}}|0= [[Category: Zero Year]]
|5|6|7|8|9={{#switch:{{#count:{{{yr}}}|19}}|0= [[Category: Zero Year]]
|1=[[Category:19{{#sub:{{#explode:{{{yr}}}|19|-1}}|0|2}} Movies]]
|1=[[Category:19{{#sub:{{#explode:{{{yr}}}|19|-1}}|0|2}} Movies]]

Latest revision as of 17:40, 23 March 2022