Jump to content

Module:Link language

Gikan sa Bikol Sentral na Wikipedia, an talingkas na ensiklopedya

Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).

local p = {}
local cfg = mw.loadData ('Module:Citation/CS1/Configuration')

function p.lang_render(frame)
	local lang = frame.args[1]
	lang = lang and mw.text.trim(lang)
	if lang and lang ~= '' then
		return mw.message.newRawMessage(cfg.messages['language'], lang):plain()
	else
		return 'mayong tataramon an tinukdo'
	end
end

return p