Difference between revisions of "Template:EpisodeListUpdater"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude>Syntax when updating [[List of Star Wars Minute episodes|List of Episodes]]: <code><nowiki>{{subst:EpisodeListUpdater|{{{1 | <noinclude>Syntax when updating [[List of Star Wars Minute episodes|List of Episodes]]: <code><nowiki>{{subst:EpisodeListUpdater|{{{1}}}|{{{3}}} }}</nowiki></code> | ||
---- | ---- | ||
<u>Inputs:</u> | <u>Inputs:</u> | ||
#Current minute | #Current minute | ||
#SWM season[[Category:Wiki]]</noinclude><includeonly>{{#get_web_data:url=https://rss.art19.com/star-wars-minute/ | #SWM season[[Category:Wiki]]</noinclude><includeonly>{{#get_web_data:url=https://rss.art19.com/star-wars-minute/ | ||
|format=xml | |format=xml | ||
|use xpath | |use xpath | ||
|data= | |data= | ||
title1=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}||{{{2}}} }}+150}}]/title, | |||
title2=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}||{{{2}}} }}+149}}]/title, | |||
title3=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}||{{{2}}} }}+148}}]/title, | |||
title4=/rss/channel/item[{{#expr:{{SeasonSwitcher | |||
<ul> | <ul> | ||
{{#ifexpr:1<={{{1}}}|<li>[[{{#external_value:title1}}]]</li>|}} | {{#ifexpr:1<={{{1}}}|<li>[[{{#external_value:title1}}]]</li>|}} |
Revision as of 13:17, 20 May 2021
Syntax when updating List of Episodes: {{subst:EpisodeListUpdater|{{{1}}}|{{{3}}} }}
Inputs:
- Current minute
- SWM season