Difference between revisions of "Template:EpisodeListUpdater"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Syntax when updating [[List of Star Wars Minute episodes|List of Episodes]]: <code><nowiki>{{EpisodeListUpdater|{{{1}}}}}</nowiki></code> | <noinclude>Queries the SWM XML feed and returns an up-to-date list of episodes of a given season of the main show. | ||
Syntax when updating [[List of Star Wars Minute episodes|List of Episodes]]: <code><nowiki>{{EpisodeListUpdater|{{{1}}}|}}</nowiki></code> | |||
---- | ---- | ||
<u>Inputs:</u> | <u>Inputs:</u> | ||
#SWM season number | #SWM season number | ||
[[Category:Wiki]]</noinclude><includeonly>{{#get_web_data:url=https://rss.art19.com/star-wars-minute/ | [[Category:Wiki]] | ||
<u>Dependencies</u> | |||
This template requires the following other templates to work properly: | |||
*<code>[[Template:SeasonSwitcher]]</code> | |||
*<code>[[Template:CurrEpNum]]</code> | |||
</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}}}|16 }}+0}}]/title, | |||
title2=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+1}}]/title, | |||
title3=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+2}}]/title, | |||
title4=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+3}}]/title, | |||
title5=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+4}}]/title, | |||
title6=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+5}}]/title, | |||
title7=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+6}}]/title, | |||
title8=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+7}}]/title, | |||
title9=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+8}}]/title, | |||
title10=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+9}}]/title, | |||
title11=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+10}}]/title, | |||
title12=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+11}}]/title, | |||
title13=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+12}}]/title, | |||
title14=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+13}}]/title, | |||
title15=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+14}}]/title, | |||
title16=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+15}}]/title, | |||
title17=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+16}}]/title, | |||
title18=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+17}}]/title, | |||
title19=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+18}}]/title, | |||
title20=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+19}}]/title, | |||
title21=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+20}}]/title, | |||
title22=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+21}}]/title, | |||
title23=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+22}}]/title, | |||
title24=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+23}}]/title, | |||
title25=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+24}}]/title, | |||
title26=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+25}}]/title, | |||
title27=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+26}}]/title, | |||
title28=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+27}}]/title, | |||
title29=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+28}}]/title, | |||
title30=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+29}}]/title, | |||
title31=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+30}}]/title, | |||
title32=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+31}}]/title, | |||
title33=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+32}}]/title, | |||
title34=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+33}}]/title, | |||
title35=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+34}}]/title, | |||
title36=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+35}}]/title, | |||
title37=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+36}}]/title, | |||
title38=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+37}}]/title, | |||
title39=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+38}}]/title, | |||
title40=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+39}}]/title, | |||
title41=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+40}}]/title, | |||
title42=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+41}}]/title, | |||
title43=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+42}}]/title, | |||
title44=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+43}}]/title, | |||
title45=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+44}}]/title, | |||
title46=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+45}}]/title, | |||
title47=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+46}}]/title, | |||
title48=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+47}}]/title, | |||
title49=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+48}}]/title, | |||
title50=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+49}}]/title, | |||
title51=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+50}}]/title, | |||
title52=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+51}}]/title, | |||
title53=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+52}}]/title, | |||
title54=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+53}}]/title, | |||
title55=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+54}}]/title, | |||
title56=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+55}}]/title, | |||
title57=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+56}}]/title, | |||
title58=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+57}}]/title, | |||
title59=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+58}}]/title, | |||
title60=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+59}}]/title, | |||
title61=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+60}}]/title, | |||
title62=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+61}}]/title, | |||
title63=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+62}}]/title, | |||
title64=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+63}}]/title, | |||
title65=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+64}}]/title, | |||
title66=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+65}}]/title, | |||
title67=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+66}}]/title, | |||
title68=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+67}}]/title, | |||
title69=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+68}}]/title, | |||
title70=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+69}}]/title, | |||
title71=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+70}}]/title, | |||
title72=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+71}}]/title, | |||
title73=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+72}}]/title, | |||
title74=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+73}}]/title, | |||
title75=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+74}}]/title, | |||
title76=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+75}}]/title, | |||
title77=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+76}}]/title, | |||
title78=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+77}}]/title, | |||
title79=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+78}}]/title, | |||
title80=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+79}}]/title, | |||
title81=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+80}}]/title, | |||
title82=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+81}}]/title, | |||
title83=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+82}}]/title, | |||
title84=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+83}}]/title, | |||
title85=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+84}}]/title, | |||
title86=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+85}}]/title, | |||
title87=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+86}}]/title, | |||
title88=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+87}}]/title, | |||
title89=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+88}}]/title, | |||
title90=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+89}}]/title, | |||
title91=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+90}}]/title, | |||
title92=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+91}}]/title, | |||
title93=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+92}}]/title, | |||
title94=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+93}}]/title, | |||
title95=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+94}}]/title, | |||
title96=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+95}}]/title, | |||
title97=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+96}}]/title, | |||
title98=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+97}}]/title, | |||
title99=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+98}}]/title, | |||
title100=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+99}}]/title, | |||
title101=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+100}}]/title, | |||
title102=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+101}}]/title, | |||
title103=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+102}}]/title, | |||
title104=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+103}}]/title, | |||
title105=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+104}}]/title, | |||
title106=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+105}}]/title, | |||
title107=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+106}}]/title, | |||
title108=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+107}}]/title, | |||
title109=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+108}}]/title, | |||
title110=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+109}}]/title, | |||
title111=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+110}}]/title, | |||
title112=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+111}}]/title, | |||
title113=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+112}}]/title, | |||
title114=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+113}}]/title, | |||
title115=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+114}}]/title, | |||
title116=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+115}}]/title, | |||
title117=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+116}}]/title, | |||
title118=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+117}}]/title, | |||
title119=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+118}}]/title, | |||
title120=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+119}}]/title, | |||
title121=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+120}}]/title, | |||
title122=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+121}}]/title, | |||
title123=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+122}}]/title, | |||
title124=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+123}}]/title, | |||
title125=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+124}}]/title, | |||
title126=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+125}}]/title, | |||
title127=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+126}}]/title, | |||
title128=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+127}}]/title, | |||
title129=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+128}}]/title, | |||
title130=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+129}}]/title, | |||
title131=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+130}}]/title, | |||
title132=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+131}}]/title, | |||
title133=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+132}}]/title, | |||
title134=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+133}}]/title, | |||
title135=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+134}}]/title, | |||
title136=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+135}}]/title, | |||
title137=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+136}}]/title, | |||
title138=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+137}}]/title, | |||
title139=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+138}}]/title, | |||
title140=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+139}}]/title, | |||
title141=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+140}}]/title, | |||
title142=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+141}}]/title, | |||
title143=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+142}}]/title, | |||
title144=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+143}}]/title, | |||
title145=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+144}}]/title, | |||
title146=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+145}}]/title, | |||
title147=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+146}}]/title, | |||
title148=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+147}}]/title, | |||
title149=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+148}}]/title, | |||
title150=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+149}}]/title, | |||
title151=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+150}}]/title, | |||
title152=/rss/channel/item[{{#expr:{{SeasonSwitcher|{{{1}}}|16 }}+151}}]/title | |||
}} | }} | ||
<ul> | <ul> | ||
{{#ifexpr:152<={{CurrEpNum|{{{1}}}|16 }}|<li>[[{{#external_value:title152}}]]</li>|}} | |||
{{#ifexpr:151<={{CurrEpNum|{{{1}}}|16 }}|<li>[[{{#external_value:title151}}]]</li>|}} | |||
{{#ifexpr:150<={{CurrEpNum|{{{1}}}|16 }}|<li>[[{{#external_value:title150}}]]</li>|}} | |||
{{#ifexpr:149<={{CurrEpNum | |||
</ul> | </ul> |
Latest revision as of 06:49, 17 April 2023
Queries the SWM XML feed and returns an up-to-date list of episodes of a given season of the main show.
Syntax when updating List of Episodes: {{EpisodeListUpdater|{{{1}}}|}}
Inputs:
- SWM season number
Dependencies
This template requires the following other templates to work properly: