Difference between revisions of "Template:CurrEpNum"

From The Star Wars Minute Wiki
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: {{{LOCALWEEK}}}*7+{{LOCALDOW}}-{{{2}}}*)7-{{{3}}})}} }}
                 {{#ifexpr:{{{1}}}=9|152|{{#expr: {{{LOCALWEEK}}}*7+{{LOCALDOW}}-{{{2}}}*)7-{{{3}}})}}
}}
  }}
    }}
      }}
        }}
          }}
            }}
              }}
                }}
<noinclude>
<noinclude>
Calculates the latest episode number given the season of the show you're interested int.
Calculates the latest episode number given the season of the show you're interested int.

Revision as of 10:06, 6 January 2022

Expression error: Unrecognized punctuation character "{".

Calculates the latest episode number given the season of the show you're interested int.

Inputs: 1=Season of the show 2=Start week of current season 3=Start date of current season