Module:Symphogear
local symphogear = {}
-- stuff under this line is what the program actually calls to pull those arrays
function symphogear.season (frame)
data = mw.loadData("Module:Symphogear/data") assert(frame.season <= data.seasonCount and frame.season > 0,"Invalid season number.") return data.seasonsLocal[frame.season]
end
function symphogear.seasonJP (frame)
data = mw.loadData("Module:Symphogear/data") assert(frame.season <= data.seasonCount and frame.season > 0,"Invalid season number.") return data.seasonsJP[frame.season]
end
function symphogear.episode (frame)
data = mw.loadData("Module:Symphogear/data") assert(frame.season <= data.seasonsWithEpisodes and frame.season > 0,"Invalid season number.") assert(frame.episode <= data.episodeCounts[frame.season] and frame.episode > 0,"Invalid episode number.") return data.episodesLocal[frame.season][frame.episode]
end
function symphogear.episodeJP (frame)
data = mw.loadData("Module:Symphogear/data") assert(frame.season <= data.seasonsWithEpisodes and frame.season > 0,"Invalid season number.") assert(frame.episode <= data.episodeCounts[frame.season] and frame.episode > 0,"Invalid episode number.") return data.episodesJP[frame.season][frame.episode]
end
return symphogear