Jump to content
Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

Die Dokumentation für dieses Modul kann unter Modul:ChDragonBallSDChapterVariables/Doku erstellt werden

local p = {}

function p.main( frame )
    local ChDragonBallSDChapterVariablesText = frame.args[1]
    local ChDragonBallSDChapterVariablesData = ""
    local ChDragonBallSDChapterVariablesResult = ""
    if frame.args[2] == nil then
	    ChDragonBallSDChapterVariablesData = mw.loadData( 'Module:ChDragonBallSDChapterVariables/data' )
	else
		ChDragonBallSDChapterVariablesData = mw.loadData( 'Module:ChDragonBallSDChapterVariables/data/' .. frame.args[2]  )
	end
    if frame.args[2] == 'ja' then
        ChDragonBallSDChapterVariablesResult = frame:preprocess(ChDragonBallSDChapterVariablesData[ChDragonBallSDChapterVariablesText])
    else
        ChDragonBallSDChapterVariablesResult = ChDragonBallSDChapterVariablesData[ChDragonBallSDChapterVariablesText]
    end
    return ChDragonBallSDChapterVariablesResult or ChDragonBallSDChapterVariablesText or ""
end
return p
Cookies helfen uns bei der Bereitstellung von DragonballWiki. Durch die Nutzung von DragonballWiki erklärst du dich damit einverstanden, dass wir Cookies speichern.