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

From blackwiki
Jump to navigation Jump to search
imported>RobinHood70
(Massive simplification - hoping it works! :))
imported>RobinHood70
m (Switch to simple year; alter math to detect > in absence of params 2 & 3)
Line 1: Line 1:
{{#ifexpr:{{{1|0}}}>0 and ({{{2|0}}}>0 and {{{2|0}}}<13) and ({{{3|0}}}>0 and {{{3|0}}}<32)
+
{{#if:{{{1|}}}
 
   |{{Main other
 
   |{{Main other
     |[[Category:{{#ifexpr:{{{1}}}*10000+{{{2}}}*100+{{{3}}} > {{CURRENTYEAR}}{{CURRENTMONTH}}{{CURRENTDAY2}}
+
     |[[Category:{{#ifexpr:{{{1}}}*10000+{{{2|13}}}*100+{{{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|}}}|&#32;{{Nowrap|{{Small|({{{4|}}})}}}}
 
}}{{Start date|{{{1|}}}|{{{2|}}}|{{{3|}}}|df={{{df|}}}}}{{#if:{{{4|}}}|&#32;{{Nowrap|{{Small|({{{4|}}})}}}}

Revision as of 00:34, 24 November 2010

 ()