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