Thread:Andrey Andrey/@comment-23880286-20150701101945/@comment-23880286-20150709122718

Andrey Andrey wrote: Because I still don't know how to make it work in the episode galleries only. I have created a solution AND it uses arrays. :D

It's a rework of the old variables way for this/next/previous episodes. It works if the basepage (basepage = Steven's Lion for Steven's Lion, Steven's Lion for Steven's Lion/Transcript, Steven's Lion for Steven's Lion/Gallery) has the text "{{Episode" or "{{Template:Episode" (lower/uppercase letters don't matter), since every episode page has the episode template. So as long as no one types it on a non-episode page it should work.