Module:User:Surjection/audio

Hello, you have come here looking for the meaning of the word Module:User:Surjection/audio. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Surjection/audio, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Surjection/audio in singular and plural. Everything you need to know about the word Module:User:Surjection/audio you have here. The definition of the word Module:User:Surjection/audio will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Surjection/audio, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}
local m_audio = require("Module:audio")

function export.show(frame)
	local params = {
		 = {required = true, default = "und"},
		 = {list = true, required = true},
		 = {list = true, allow_holes = true},
		 = {},
		 = {type = "boolean"},
	}
	local args = require("Module:parameters").process(frame:getParent().args, params)
	local lang = require("Module:languages").getByCode(args, 1)

	local data = {
		lang = lang,
		audios = {},
		caption = not args.nocaption and (args.caption or "Audio") or nil
	}
	for i=1, #args do
		local audiofile = { file = args }
		if args then
			audiofile.qualifiers = { args }
		end
		table.insert(data.audios, audiofile)
	end

	return m_audio.format_multiple_audios(data)
end

return export