Difference between revisions of "Template:CurrEpNum"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
{{#ifexpr:{{{1}}}=7|139| | {{#ifexpr:{{{1}}}=7|139| | ||
{{#ifexpr:{{{1}}}=8|134| | {{#ifexpr:{{{1}}}=8|134| | ||
{{#ifexpr:{{{1}}}=9|152|{{#expr:{{LOCALWEEK}}*7+{{#ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }}-{{{1}}}*7}} | {{#ifexpr:{{{1}}}=9|152|{{#expr:({{LOCALWEEK}}-1)*7+{{#ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }}+2-({{{1}}}-1)*7}} | ||
}} | }} | ||
}} | }} |
Revision as of 11:15, 6 January 2022
Calculates the latest episode number given the season of the show you're interested in. For example, {{CurrEpNum|6}}
=89.
Inputs:
- Season of the show
Only if using for current season, otherwise, leave blank. - Start week of current season