Board Thread:Support Requests - Getting Technical/@comment-301511-20150521202449/@comment-9605025-20150601200226


 * 1) Am I understanding you correctly that there are 4 new episodes each week?
 * 2) Do you have the variables extension installed on your wiki? It doesn't really matter but it gets messy without it.

If yes to both, I think this might do it. No promises though.

{{#ifexpr: {{#var: weeks}}<0 | #default = 0 | 0001 = 1 | 0011 = 2  | 0111 = 3  | 1111 = 4  }}+{{{count offset}}} }}
 * 0
 * {{#expr: trunc({{#var: weeks}})*4+{{#switch: {{#expr: {{#var:tow}}>=504000}}{{#expr: {{#var:tow}}>=415800}}{{#expr: {{#var:tow}}>=243000}}{{#expr: {{#var:tow}}>=158400}}