Difference between revisions of "Template:SeasonSwitcher"

From The Star Wars Minute Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifexpr:{{{1}}}=11|1
{{#ifexpr:{{{1}}}=11|1
|{{#expr:{{CurrEpNum|{{{1}}}|16}}+1+1}}
|{{#ifexpr:{{{1}}}=10|{{#expr:{{CurrEpNum|11|16}}+1+1}}
  }}
  |{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11|16}}+1+1+135}}
    |99}}
      }}
        }}
</includeonly><noinclude><u>Inputs:</u>
</includeonly><noinclude><u>Inputs:</u>
#SWM season
#SWM season
Line 8: Line 11:
#Number in feed of latest episode of specified season[[Category:Wiki]]
#Number in feed of latest episode of specified season[[Category:Wiki]]


<u>Dependencies</u>
<u>Dependencies</u>{{SeasonSwitcher|8}}


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>

Revision as of 07:12, 19 April 2023

Inputs:

  1. SWM season

Outputs:

  1. Number in feed of latest episode of specified season

Dependencies 99


This template requires the following other templates to work properly: