Difference between revisions of "Template:Film date/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>RobinHood70
m (Switch to simple year; alter math to detect > in absence of params 2 & 3)
imported>RobinHood70
m (Bah! Compensate for params passed as empty, not non-existent)
Line 1: Line 1:
 
{{#if:{{{1|}}}
 
{{#if:{{{1|}}}
 
   |{{Main other
 
   |{{Main other
     |[[Category:{{#ifexpr:{{{1}}}*10000+{{{2|13}}}*100+{{{3|32}}} > {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}}
+
     |[[Category:{{#ifexpr:{{{1}}}*10000+{{#if:{{{2|}}}|{{{2}}}|13}}*100+{{#if:{{{3|}}}|{{{3}}}|32}} > {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}}
 
       |Upcoming|{{{fy|{{{1}}}}}}}} {{#if:{{{TV|}}}|television films|films}}]]}}
 
       |Upcoming|{{{fy|{{{1}}}}}}}} {{#if:{{{TV|}}}|television films|films}}]]}}
 
}}{{Start date|{{{1|}}}|{{{2|}}}|{{{3|}}}|df={{{df|}}}}}{{#if:{{{4|}}}| {{Nowrap|{{Small|({{{4|}}})}}}}
 
}}{{Start date|{{{1|}}}|{{{2|}}}|{{{3|}}}|df={{{df|}}}}}{{#if:{{{4|}}}| {{Nowrap|{{Small|({{{4|}}})}}}}

Revision as of 00:44, 24 November 2010

 ()