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: | {{#ifexpr:{{{1}}}=9|152|{{#expr:{{LOCALWEEK}}*7+{{#ifexpr:{{LOCALDOW}}=6|5|{{LOCALDOW}} }}-{{{1}}}*7}} | ||
}} | }} | ||
}} | }} | ||
Line 17: | Line 17: | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Calculates the latest episode number given the season of the show you're interested in. For example, <code><nowiki>{{CurrEpNum|6}}</nowiki></code>={{CurrEpNum| | Calculates the latest episode number given the season of the show you're interested in. For example, <code><nowiki>{{CurrEpNum|6}}</nowiki></code>={{CurrEpNum|10|1|3}}. | ||
Inputs: | Inputs: | ||
Line 23: | Line 23: | ||
---- | ---- | ||
Only if using for current season, otherwise, leave blank.</li> | Only if using for current season, otherwise, leave blank.</li> | ||
<li>Start week | <li>Start week of current season</li></ol> | ||
[[Category:Wiki]]</noinclude> | [[Category:Wiki]]</noinclude> |
Revision as of 11:12, 6 January 2022
Calculates the latest episode number given the season of the show you're interested in. For example, {{CurrEpNum|6}}
=87.
Inputs:
- Season of the show
Only if using for current season, otherwise, leave blank. - Start week of current season