Content deleted Content added
The Mol Man (talk | contribs) No edit summary |
The Mol Man (talk | contribs) No edit summary |
||
Line 6:
function p.sublist(frame)
return main(frame,true)
end
function p.list(frame)
return main(frame,false)
end
function main(frame, sublist)
if not getArgs then
getArgs = require('Module:Arguments').getArgs
Line 14 ⟶ 22:
local mainlist = args.MainList or args['1'] or ''
local on_main_page
if sublist then on_main_page = mw.uri.anchorEncode(page_title) == mw.uri.anchorEncode(mainlist) else
on_main_page = false
end
local EpisodeNumber,EpisodeNumber2,Title,Aux1,DirectedBy,WrittenBy,DirectedBy,Aux2,Aux3,OriginalAirDate,AltDate,ProdCode,Viewers,Aux4,return_table
|