Difference between revisions of "Template:DateUnpackB"

From Ephemeral Film Wiki
Jump to navigation Jump to search
Line 3: Line 3:
|2=;Date Released :[[:Category:19{{{yr}}} Movies{{!}}19{{{yr}}}]][[Category:19{{{yr}}} Movies]]
|2=;Date Released :[[:Category:19{{{yr}}} Movies{{!}}19{{{yr}}}]][[Category:19{{{yr}}} Movies]]
|5|6|7|8|9=;Date Released  
|5|6|7|8|9=;Date Released  
:DEBUG {{#switch:{{#count:{{{yr}}}|19}}|0=error "19" not found in year|1="19" found!|error "19" found more than once in year}}
:{{#switch:{{#count:{{{yr}}}|19}}|0=error "19" not found in year
:BUG {{#len:{{{yr}}}}} and {{{yr}}}
|1="19" found!
:BUG ~19{{#sub:{{#explode:{{{yr}}}|19|-1}}|0|2}}
:<small class="debugData">The year ~19{{#sub:{{#explode:{{{yr}}}|19|-1}}|0|2}} was derived via [[Template:DateUnpackB]].</small>
|error "19" found more than once in year}}
|1=error: year supplied is just one char; should be 4 chars like "1950"
|1=error: year supplied is just one char; should be 4 chars like "1950"
|3=error: year is only 3 characters; should be 4 chars like "1950" (year, not decade)
|3=error: year is only 3 characters; should be 4 chars like "1950" (year, not decade)

Revision as of 16:15, 7 December 2021