local episodelist = {
    ['Digimon Adventure'] = "[[And so it begins...|01]] - [[The Birth of Greymon|02]] - [[Garurumon (episode)|03]] - [[Biyomon Gets Firepower|04]] - [[Kabuterimon's Electro Shocker|05]] - [[Togemon in Toy Town|06]] - [[Ikkakumon's Harpoon Torpedo|07]] - [[Evil Shows His Face|08]] - [[Subzero Ice Punch!|09]] - [[A Clue From The Digi-Past|10]]<br>[[The Dancing Digimon|11]] - [[DigiBaby Boom|12]] - [[The Legend of the DigiDestined|13]] - [[Departure for a New Continent|14]] - [[The Dark Network of Etemon|15]] - [[The Arrival of Skullgreymon|16]] - [[The Crest of Sincerity|17]] - [[The Piximon Cometh|18]] - [[The Prisoner of the Pyramid|19]] - [[The Earthquake of MetalGreymon|20]]<br>[[Home Away From Home|21]] - [[Forget About It!|22]] - [[WereGarurumon's Diner|23]] - [[No Questions, Please|24]] - [[Princess Karaoke|25]] - [[Sora's Crest of Love|26]] - [[The Gateway To Home|27]] - [[It's All In The Cards|28]] - [[Return to Highton View Terrace|29]] - [[Almost Home Free|30]]<br>[[The Eighth Digivice|31]] - [[Gatomon Comes Calling|32]] - [[Out on the Town|33]] - [[The Eighth Child Revealed|34]] - [[Flower Power|35]] - [[City Under Siege|36]] - [[Wizardmon's Gift|37]] - [[Prophecy|38]] - [[The Battle for Earth|39]] - [[Enter The Dark Masters|40]]<br>[[Sea-Sick and Tired|41]] - [[Under Pressure|42]] - [[Playing Games|43]] - [[Trash Day|44]] - [[The Ultimate Clash|45]] - [[Etemon's Comeback Tour|46]] - [[Ogremon's Honor|47]] - [[My Sister's Keeper|48]] - [[The Crest of Light|49]] - [[Joe's Battle|50]]<br>[[The Crest of Friendship|51]] - [[Piedmon's Last Jest|52]] - [[Now Apocalymon|53]] - [[The Fate of Two Worlds|54]]",
    ['Digimon Adventure 02'] = "[[Enter Flamedramon|01]] - [[The Digiteam Complete|02]] - [[A New Digitude|03]] - [[Iron Vegiemon|04]] - [[Old Reliable|05]] - [[Family Picnic|06]] - [[Guardian Angel|07]] - [[Ken's Secret|08]] - [[The Emperor's New Home|09]] - [[The Captive Digimon|10]]<br>[[Storm Of Friendship|11]] - [[The Good, The Bad, and The Digi|12]] - [[His Master's Voice|13]] - [[The Samurai of Sincerity|14]] - [[Big Trouble in Little Edo|15]] - [[20,000 Digi-Leagues Under the Sea|16]] - [[Ghost of a Chance|17]] - [[Run Yolei Run|18]] - [[An Old Enemy Returns|19]] - [[The Darkness Before Dawn|20]]<br>[[The Crest of Kindness|21]] - [[Davis Cries Wolfmon|22]] - [[Genesis of Evil|23]] - [[If I had a Tail Hammer|24]] - [[Spirit Needle|25]] - [[United We Stand|26]] - [[Fusion Confusion|27]] - [[The Insect Master's Trap|28]] - [[Arukenimon's Tangled Web|29]] - [[Ultimate Anti-Hero|30]]<br>[[Opposites Attract|31]] - [[If I Only Had A Heart|32]] - [[A Chance Encounter|33]] - [[Destiny In Doubt|34]] - [[Cody Takes A Stand|35]] - [[Stone Soup|36]] - [[Kyoto Dragon|37]] - [[A Very Digi Christmas|38]] - [[Dramon Power|39]] - [[Digimon World Tour, Pt. 1|40]]<br>[[Digimon World Tour, Pt. 2|41]] - [[Digimon World Tour, Pt. 3|42]] - [[Invasion of the Daemon Corps|43]] - [[Dark Sun, Dark Spore|44]] - [[The Dark Gate|45]] - [[Duel of the WarGreymon|46]] - [[BlackWarGreymon's Destiny|47]] - [[Oikawa's Shame|48]] - [[The Last Temptation of the DigiDestined|49]] - [[A Million Points of Light|50]]",
    ['Digimon Tamers'] = "[[Guilmon Comes Alive|01]] - [[Digimon, Digimon Everywhere|02]] - [[To Fight or Not to Fight|03]] - [[It Came From the Other Side|04]] - [[Dream a Little Dream|05]] - [[O Partner, Where Art Thou?|06]] - [[Now You See It, Now You Don't (Tamers)|07]] - [[A Question of Trust|08]] - [[Not As Seen on TV|09]] - [[The Icemon Cometh|10]]<br>[[Much Ado About Musyamon|11]] - [[Divided They Stand|12]] - [[Juggernaut (episode)|13]] - [[Grow Mon Grow|14]] - [[Snakes, Trains, and Digimon|15]] - [[Back to Nature, Back to Battle|16]] - [[Duel with the Deva|17]] - [[Digital Beauty|18]] - [[Impmon's Last Stand|19]] - [[Out of the Blue|20]]<br>[[Jeri's Quest|21]] - [[The Boar Wars|22]] - [[A World Apart|23]] - [[The Journey Begins|24]] - [[Brave New Digital World|25]] - [[Kazu and Kenta's Excellent Adventure|26]] - [[Motorcycle Madness|27]] - [[Blame it on Ryo|28]] - [[Goliath|29]] - [[The Imperfect Storm|30]]<br>[[Kazu's Upgrade|31]] - [[Shibumi Speaks|32]] - [[Rabbit Transit|33]] - [[Lionheart|34]] - [[Give a Little Bit|35]] - [[The Battle Within|36]] - [[No Mon Is an Island|37]] - [[Azulongmon Explains It All|38]] - [[Song of Sakuyamon|39]] - [[Janyu's Ark|40]]<br>[[Homeward Bound|41]] - [[Reunion (Tamers)|42]] - [[Beelzemon's Big Day|43]] - [[The Messenger|44]] - [[The D-Reaper's Disguise|45]] - [[When Is A Mon Justimon?|46]] - [[His Kingdom For A Horse|47]] - [[Shadow of the Beast King|48]] - [[D-Reaper's Feast|49]] - [[Jeri Fights Back|50]]<br>[[Such Sweet Sorrow|51]]",
    ['Digimon Frontier'] = "[[All Aboard|01]] - [[Lobomon: Warrior of Light|02]] - [[Kumamon Baby, Light My Fire|03]] - [[Kazemon Kicks It|04]] - [[Ladies and Gentlemen: The Beetlemon|05]] - [[A Molehill Out Of A Mountain|06]] - [[Island of Misfit Boys|07]] - [[The Odd One Out|08]] - [[Welcome to My Nightmare|09]] - [[Can't Keep a Grumblemon Down|10]]<br>[[A Hunka Hunka BurningGreymon|11]] - [[Fear and Loathing in Los Arboles|12]] - [[Better An Egg Than An Egg Shell|13]] - [[No Whamon|14]] - [[Beastie Girl|15]] - [[The Swiss Family Digimon|16]] - [[Bizarre Bazaar|17]] - [[Trailmon vs. Trailmon|18]] - [[You Want Fries With That?|19]] - [[From Dawn To Duskmon|20]]<br>[[Darkest Before Duskmon|21]] - [[Home Again, Takuya Returns|22]] - [[Sockit Takuya|23]] - [[Alone But Never Alone|24]] - [[The Dark Heart of Friendship|25]] - [[Zoe's Unbeelievable Adventure|26]] - [[Stuck In Sakkakumon With You|27]] - [[Darkness Before the Dawn|28]] - [[Phantasmagoric Sakkakumon|29]] - [[O, Brother, Who Art Thou?|30]]<br>[[Workin' On The Train Gang|31]] - [[My Brother In Spirit|32]] - [[Ne'er The Twins Shall Meet|33]] - [[Operation: Free Ophanimon|34]] - [[Takuya and Koji's Evolution Revolution|35]] - [[Ice Ice Baby|36]] - [[Cherubimania|37]] - [[It Can't Be! Lucemon Reappears|38]] - [[The Man In The Moon Is You|39]] - [[The Bully Pulpit|40]]<br>[[Jerks And The Beanstalk|41]] - [[Glean Eggs And Scram|42]] - [[Bad To The Bones|43]] - [[Now You See It, Now You Don't (Frontier)|44]] - [[All Aboard The Tag Team Express|45]] - [[To Make The World Go Away|46]] - [[When Knights Fall...|47]] - [[The Brothers Yin and Yang|48]] - [[Lucemon on the Loose|49]] - [[End of the Line|50]]",
    ['Digimon Data Squad'] ="[[THERE ARE MONSTERS AMONG US!|01]] - [[Marcus' Inner Strength!|02]] - [[The Return of Thomas!|03]] - [[The New Team of Marcus and Thomas!|04]] - [[Digital World, Here We Come!|05]] - [[The Ultimate Team No More?|06]] - [[A Birthday Kristy Will Never Forget!|07]] - [[The Singer's Secret|08]] - [[Never Meet Your Heroes|09]] - [[Curse This Curse: Marcus's Bad Day|10]]<br>[[The Vile of Vilemon!|11]] - [[The Digi-Egg That Fell To Earth|12]] - [[The Rise of RizeGreymon!|13]] - [[The Wild Boy of the Digital World|14]] - [[The Gorge of Deception!|15]] - [[Falcomon: Friend or Foe?!|16]] - [[Yoshi's Biggest Battle: The One with Herself|17]] - [[The Clash With Merukimon!|18]] - [[The Truth About Keenan|19]] - [[The Crier Family Reunion|20]]<br>[[The Digimon Army Makes Its Move|21]] - [[The Wrath of SaberLeomon|22]] - [[One More Digital Dive!|23]] - [[The Past Revealed|24]] - [[Kurata's Revenge!|25]] - [[Memory is the First Thing to Go!|26]] - [[The Beginning of the End!|27]] - [[Digivice Meltdown|28]] - [[How To Fix A Broken Digivice|29]] - [[Journey To the Sacred City|30]]<br>[[Showdown Between Geniuses: Thomas vs. Nanami!|31]] - [[The Sacred City's Last Stand!|32]] - [[The Final Bio-Hybrid Battle|33]] - [[The Norstein Family Secret|34]] - [[Kurata's Real Plan|35]] - [[Awaken Belphemon!|36]] - [[The Battle With Belphemon!|37]] - [[The Power of The Burst Mode!|38]] - [[King Drasil's Fatal Decision!|39]] - [[The Royal Knights Assemble|40]]<br>[[Father and Son Destiny|41]] - [[Thomas Bursts On The Scene!|42]] - [[Justice Equals Power!|43]] - [[Human Potential!|44]] - [[A Family Quarrel|45]] - [[The Truth About BanchoLeomon!|46]] - [[The Data Squad's Final Battle!|47]] - [[The Ultimate Farewell|48]]",
    ['Digimon Fusion'] = "[[Mikey Goes To Another World!|01]] - [[He is Shoutmon, Hear Him Roar!|02]] - [[A Rival Appears|03]] - [[Island Zone in Chaos!|04]] - [[Thanks for the DigiCards!|05]] - [[Crisis or Conquest|06]] - [[Danger Erupts!|07]] - [[Meltdown in the Magma Zone!|08]] - [[Dorulumon's True Colors|09]] - [[The Rival Champions!|10]] - [[Ice To See You, Angie!|11]] - [[Treasure, Traps, and Trouble - Oh, My!|12]] - [[Mikey, Warrior of the Light!|13]] - [[Showdown in the Sand Zone|14]] - [[Trouble in Paradise|15]] - [[A Dark Cloud Over the Sky Zone|16]] - [[Clash in the Clouds|17]] - [[Welcome to the Jungle Zone!|18]] - [[Rumble in the Jungle Zone!|19]] - [[Train Of Terror!|20]] - [[Disaster in the Dust Zone!|21]] - [[Lost in Digital Space|22]] - [[Laughing All The Way To The Code Crown|23]] - [[Monitamission Impossible!|24]] - [[Showdown in Shaky Town!|25]] - [[Shoutmon - Bogus King Or The Real Thing?|26]] - [[Sweet Zone Bake-off!|27]] - [[Battle in The Digital Depths|28]] - [[Fall of the Final Code Crown|29]] - [[When Worlds Collide|30]]<br>Death Generals<br>[[Back to the Digital World! Hot Time in Dragonland!|31]] - [[Take a Stand, Christopher! Fusion Fighters' Rescue Mission!|32]] - [[Vampire Land and the Moonlight General|33]] - [[Hang on, Greymon! The Rise of Shoutmon DX|34]] - [[The Power Drain: The Hunters of Honey Land|35]] - [[Sweet Revenge! The Horrors of Honey Land!|36]] - [[Ewan and The Land of Illusion|37]] - [[Psych-Out in Cyber Land!|38]] - [[The Water Tiger General's Slippery Trap!|39]] - [[Gold Land And The Irate Pirate!|40]] - [[Ballistamon's Bad-News: Blast From the Past!|41]] - [[Deep Trouble in Canyon Land!|42]] - [[Great Fusion! The Power of Friendship|43]] - [[Regeneration Frustration!|44]] - [[Dark Side Of The Sun|45]] - [[The Dark Side of Bright Land|46]] - [[The Battle of The Young Generals|47]] - [[Beelzemon's Revenge|48]] - [[The Darkest Dark General Of All!|49]] - [[Prison Land (episode)|50]] - [[Rotten to the Digi-Core!|51]] - [[D5 And The Brotherhood Of Evil|52]] - [[The Darkness Before The Dawn|53]] - [[Final Fusion - The Fight For Earth!|54]]<br>Young Hunters<br>[[We, The Digimon Hunters!|55]] - [[Students have Vanished! The Flickering Shadow of Sagomon|56]] - [[The Robot Club's Dream, Pinochimon's Lure|57]] - [[Honor Students are Being Targeted! Blossomon's Smile|58]] - [[Warning, Cuteness! The Cute Hunter Airu's Traps!|59]] - [[The Digimon Kendo Match! Kotemon's Blade Draws Near%21%21|60]] - [[Okonomiyaki Panic! The Town Swarming with Pagumon|61]] - [[The Digimon Hunt is Booming! The Virtuoso Hunter of the Shopping District!|62]] - [[A Targeted Taiki! The Super-Celebrity's Warcry!|63]] - [[Hong Kong Landing! Protect the Super-Maiden Idol%21%21|64]] - [[Tagiru's Gotten Soft!? Gumdramon's Big Pinch%21%21|65]]  - [[Delicious? Disgusting? The Digimon Ramen Contest!|66]] - [[A World Tour just for Children! The Digimon Train of Dreams|67]] - [[A Great Hunter Gathering! The Digimon Contest of the Southern Island!|68]] - [[Do You Want Friends? Phelesmon's Demonic Pact|69]] - [[Heart-Pounding Dread! The Spirit Hunter Howls%21%21|70]] - [[Resemblance? No Resemblance? The Masquerade-Thief Betsumon|71]] - [[A Great UFO-Dragon Gathering! Ekakimon of Dreams|72]] - [[The Great Undersea Adventure! Search for the Treasure Digimon of Dreams!|73]] - [[Rare Cards have Vanished! The Invincible RookChessmon|74]] - [[The Amusement Park of Dreams, Digimon Land!|75]] - [[A Golden Bug! The Mystery of MetallifeKuwagamon|76]] - [[Now Revealed! The Secret of the Digimon Hunt!|77]] - [[A Great Legendary Hero Gathering! The Digimon All-star Showdown%21%21|78]] - [[Burn up Tagiru! A Glorious Digimon Hunt!|79]]",
    ['Digimon Adventure tri.'] = "[[Reunion (Adventure tri.)|01]] - [[Determination|02]] - [[Confession|03]] - [[Loss|04]]",
    ['Digimon Universe: Appli Monsters'] = "[[The Search Result is Haru Shinkai! Gatchmon Appears!|01]] - [[The Eerie Guide! I am Navimon!|02]]",
local prev_series = {
    ['Digimon Adventure 02'] = {"And so it begins...", "Digimon Adventure"},
    ['Digimon Tamers'] = {"Enter Flamedramon", "Digimon Adventure 02"},
    ['Digimon Frontier'] = {"Guilmon Comes Alive", "Digimon Tamers"},
    ['Digimon Data Squad'] = {"All Aboard", "Digimon Frontier"},
    ['Digimon Fusion'] = {"THERE ARE MONSTERS AMONG US!", "Digimon Data Squad"},
    ['Digimon Adventure tri.'] = {"Mikey Goes To Another World!", "Digimon Fusion"},
    ['Digimon Universe: Appli Monsters'] = {"Reunion (Adventure tri.)", "Digimon Adventure tri."},
local next_series = {
    ['Digimon Adventure'] = {"Enter Flamedramon", "Digimon Adventure 02"},
    ['Digimon Adventure 02'] = {"Guilmon Comes Alive", "Digimon Tamers"},
    ['Digimon Tamers'] = {"All Aboard", "Digimon Frontier"},
    ['Digimon Frontier'] = {"THERE ARE MONSTERS AMONG US!", "Digimon Data Squad"},
    ['Digimon Data Squad'] = {"Mikey Goes To Another World!", "Digimon Fusion"},
    ['Digimon Fusion'] = {"Reunion (Adventure tri.)", "Digimon Adventure tri."},
    ['Digimon Adventure tri.'] = {"The Search Result is Haru Shinkai! Gatchmon Appears!", "Digimon Universe: Appli Monsters"},
episode = {
	['episodelist'] = episodelist,
	['prev_series'] = prev_series,
	['next_series'] = next_series,
-- Libraries of functions --
-- stands for High Frequency
local HF = mw.InfoboxBuilderHF
-- Parses invocation parameters, trims whitespace, and removes blanks.
local getArgs = require('Dev:Arguments').getArgs
-- Outputs various kinds of lists.
local L = require('Dev:List')
-- Gives the name of the current page. It's expensive, so we only do it once.
-- The _G then makes it global, available to all page functions.
_G.vars = { Pagename = mw.title.getCurrentTitle().text }
-- Public functions (called from a Template or article) --
function episode.More(frame)
	local args = getArgs(frame)
	return episode._moreEpisodes(args)
-- Internal functions (used in this and other Modules --
function episodelist:validseason( name )
    if type( self[ name ] ) == 'string' then
        return true
        return nil
function episodelist:makeList( name )
    if self:validseason ( name ) then
        -- local episodes = mw.text.split( self[name], ' · ' )
        -- return L.makeList( 'horizontal', episodes )
        return self[name]
        return nil
function episode._moreEpisodes( args )
    local parts = {
        ['left'] = '[[',
        ['right'] = ']]'
    local output = '<div>'['left']..
        'List of ' .. args.series .. ' episodes'..
    output = output .. episodelist:makeList( args.series )
    output = output .. '<div style="display: flex; width: 100%; justify-content: space-between;">'
    if prev_series[ args.series ] then
    output = output .. '<span style="text-align: left">' ..
        parts['left'] ..
        prev_series[ args.series ][1]..'|&laquo; '..
        prev_series[ args.series ][2]..
    if next_series[ args.series ] then
    output = output .. '<span style="text-align: right">' ..
        parts['left'] ..
        next_series[ args.series ][1]..'|'..
        next_series[ args.series ][2]..' &raquo;'..
    output = output .. '</div>'
    return output
-- Output (send it back to whatever called it) --
return episode

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.