Module:Sandbox/PanchamBro/Music

Jump to navigation Jump to search
Documentation[create] [refresh]
This module has no documentation. If you know how to use this module, please create it.
local p = {
	java = "''[[Java Edition]]''", --mw.getCurrentFrame():preprocess("''[[Java Edition]]''") --if necessary
	['java-upcoming'] = "[[Java Edition 1.21]]",  --mw.getCurrentFrame():preprocess("[[Java Edition 1.20.2]]")
	bedrock = "''[[Bedrock Edition]]''", --mw.getCurrentFrame():preprocess("''[[Bedrock Edition]]''")
	['bedrock-upcoming'] = "[[Bedrock Edition 1.21.0]]",
	
	music = require("Module:Sandbox/PanchamBro/Music/Tracks"),
	
	events = require("Module:Sandbox/PanchamBro/Music/Events"),

	columns = {
		["filename"] = 'The file name of the music track. Can differ between Java and Bedrock.',
		["name"] = 'The name of the track',
		["albuminfo"] = 'Where the music belongs on official soundtracks w/ track number',
		["weight"] = 'The weight of this music relative to other music trakcs in the pool.',
		["preview"] = 'The preview of the track'
	},
}

p.base = function( ... )

	p.current_frame = mw.getCurrentFrame()

	local args = { ... }
	if args[1] == p.current_frame then
		args = require( 'Module:ProcessArgs' ).merge( true )
	else
		args = args[1]
	end
	
end
	-- transform args into usable list