Difference between revisions of "Template:SeasonSwitcher"

From The Star Wars Minute Wiki
Jump to navigation Jump to search
Line 4: Line 4:
   |{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8}}
   |{{#ifexpr:{{{1}}}=9|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8}}
     |{{#ifexpr:{{{1}}}=8|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8+152}}
     |{{#ifexpr:{{{1}}}=8|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8+152}}
       |{{#ifexpr:{{{1}}}=7|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8+152+138}}}}
       |{{#ifexpr:{{{1}}}=7|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8+152+138}}
         |{{#ifexpr:{{{1}}}=6|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8+138+140}}}}
         |{{#ifexpr:{{{1}}}=6|{{#expr:{{CurrEpNum|11|16}}+1+1+135+8+138+140}}
        }}
}}
  }}
    }}
      }}
        }}
           }}
           }}
            }}
            |99}}
</includeonly><noinclude><u>Inputs:</u>
</includeonly><noinclude><u>Inputs:</u>
#SWM season
#SWM season
Line 15: Line 17:
#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>{{SeasonSwitcher|7}}
<u>Dependencies</u>{{SeasonSwitcher|6}}


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:27, 19 April 2023

Inputs:

  1. SWM season

Outputs:

  1. Number in feed of latest episode of specified season

Dependencies 566


This template requires the following other templates to work properly: