Module:EpisodeVariables
From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation
Jump to search
Documentation for this module may be created at Module:EpisodeVariables/doc
local p = {}
function p.main( frame )
local episodeVariablesText = frame.args[1]
local episodeVariablesData = ""
local episodeVariablesResult = ""
if frame.args[2] == nil then
episodeVariablesData = mw.loadData( 'Module:EpisodeVariables/data' )
else
episodeVariablesData = mw.loadData( 'Module:EpisodeVariables/data/' .. frame.args[2] )
end
if frame.args[2] == 'ja' then
episodeVariablesResult = frame:preprocess(episodeVariablesData[episodeVariablesText])
else
episodeVariablesResult = episodeVariablesData[episodeVariablesText]
end
return episodeVariablesResult or episodeVariablesText or ""
end
return p
- Manga ▾
- Media ▾
- Characters ▾
- World ▾
- Archives ▾
- Misc ▾
- Wiki ▾