Difference between revisions of "Template:SeasonSwitcher"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifexpr:{{{1}}}=11|1 | {{#ifexpr:{{{1}}}=11|{{#expr:1+1}} | ||
|{{#ifexpr:{{{1}}}=10|{{#expr:{{CurrEpNum|11| | |{{#ifexpr:{{{1}}}=10|{{#expr:{{CurrEpNum|11|}}+1+1+1}} | ||
|{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11| | |{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+1}} | ||
|{{#ifexpr:{{{1}}}=8|{{#expr:{{CurrEpNum|11| | |{{#ifexpr:{{{1}}}=8|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+1}} | ||
|{{#ifexpr:{{{1}}}=7|{{#expr:{{CurrEpNum|11| | |{{#ifexpr:{{{1}}}=7|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+138+1}} | ||
|{{#ifexpr:{{{1}}}=6|{{#expr:{{CurrEpNum|11| | |{{#ifexpr:{{{1}}}=6|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+139+1+141+1}} | ||
}} | }} | ||
}} | }} | ||
Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
</includeonly><noinclude><u> | </includeonly><noinclude><u>Syntax:</u> | ||
< | <code><nowiki>{{SeasonSwitcher| {{{1}}} }} = {{{2}}}</nowiki></code> | ||
<u>Input(s):</u> | |||
<ol><li>SWM season</li></ol> | |||
<u>Output(s):</u> | |||
<ol start="2"><li>Number in feed of latest episode of specified season</li></ol>[[Category:Wiki]] | |||
<u>Dependencies:</u> | |||
This template requires the following other templates to work properly: | This template requires the following other templates to work properly: | ||
*<code>[[Template:CurrEpNum]]</code></noinclude> | *<code>[[Template:CurrEpNum]]</code></noinclude> |
Latest revision as of 08:39, 6 May 2024
Syntax:
{{SeasonSwitcher| {{{1}}} }} = {{{2}}}
Input(s):
- SWM season
Output(s):
- Number in feed of latest episode of specified season
Dependencies:
This template requires the following other templates to work properly: