Difference between revisions of "Template:CurrEpNum"
Jump to navigation
Jump to search
Tag: Reverted |
Tag: Reverted |
||
Line 5: | Line 5: | ||
{{#ifexpr:{{{1}}}=5|143| | {{#ifexpr:{{{1}}}=5|143| | ||
{{#ifexpr:{{{1}}}=6|141| | {{#ifexpr:{{{1}}}=6|141| | ||
{{#ifexpr:{{{1}}}=7| | {{#ifexpr:{{{1}}}=7|140| | ||
{{#ifexpr:{{{1}}}=8|135| | {{#ifexpr:{{{1}}}=8|135| | ||
{{#ifexpr:{{{1}}}=9|152|{{ #expr:({{LOCALWEEK}})*5-1+{{ #ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }}-{{{2}}}*5+{{ #ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }} }} | {{#ifexpr:{{{1}}}=9|152|{{ #expr:({{LOCALWEEK}})*5-1+{{ #ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }}-{{{2}}}*5+{{ #ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }} }} |
Revision as of 18:23, 21 February 2022
Calculates the latest episode number given the season of the show you're interested in. For example, {{CurrEpNum|10|8}}
= 75.
Inputs:
- Season of the show
Only if using for current season, otherwise, leave blank. - Start week of current season (out of 52)