Modul:EpisodeofBardockChapterVariables
Aus DragonballWiki
Weitere Optionen
Die Dokumentation für dieses Modul kann unter Modul:EpisodeofBardockChapterVariables/Doku erstellt werden
local p = {}
function p.main( frame )
local EpisodeofBardockChapterVariablesText = frame.args[1]
local EpisodeofBardockChapterVariablesData = ""
local EpisodeofBardockChapterVariablesResult = ""
if frame.args[2] == nil then
EpisodeofBardockChapterVariablesData = mw.loadData( 'Module:EpisodeofBardockChapterVariables/data' )
else
EpisodeofBardockChapterVariablesData = mw.loadData( 'Module:EpisodeofBardockChapterVariables/data/' .. frame.args[2] )
end
if frame.args[2] == 'ja' then
EpisodeofBardockChapterVariablesResult = frame:preprocess(EpisodeofBardockChapterVariablesData[EpisodeofBardockChapterVariablesText])
else
EpisodeofBardockChapterVariablesResult = EpisodeofBardockChapterVariablesData[EpisodeofBardockChapterVariablesText]
end
return EpisodeofBardockChapterVariablesResult or EpisodeofBardockChapterVariablesText or ""
end
return p