Difference between revisions of "Template:SeasonSwitcher"

From The Star Wars Minute Wiki
Jump to navigation Jump to search
Tag: Reverted
Tag: Reverted
Line 1: Line 1:
<includeonly>
<includeonly>
{{#ifexpr:{{{1}}}=11|1
{{#ifexpr:{{{1}}}=11|1
|{{#ifexpr:{{{1}}}=10|{{#expr:{{CurrEpNum|11|}}+1+1+1}}
|{{#ifexpr:{{{1}}}=10|{{#expr:{{CurrEpNum|11|}}+1+1+1+1}}
   |{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+1}}
   |{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+1+1}}
     |{{#ifexpr:{{{1}}}=8|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+1}}
     |{{#ifexpr:{{{1}}}=8|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+1+1}}
       |{{#ifexpr:{{{1}}}=7|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+138+1}}
       |{{#ifexpr:{{{1}}}=7|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+138+1+1}}
         |{{#ifexpr:{{{1}}}=6|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+139+1+141+1}}
         |{{#ifexpr:{{{1}}}=6|{{#expr:{{CurrEpNum|11|}}+1+1+135+8+152+139+1+141+1+1}}
}}
}}
   }}
   }}

Revision as of 07:46, 1 November 2023

Syntax:

{{SeasonSwitcher| {{{1}}} }} = {{{2}}}

Input(s):

  1. SWM season

Output(s):

  1. Number in feed of latest episode of specified season

Dependencies:

This template requires the following other templates to work properly: