Module:languages/names/generate: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
local export = {}
local export = {}


function export.show(frame)
function export.show()
local wrap_b = (frame.args["wrap"] and ("<" .. frame.args["wrap"] .. ">")) or ""
local wrap_e = (frame.args["wrap"] and ("</" .. frame.args["wrap"] .. ">")) or ""
local languages = require("Module:languages").languages
local languages = require("Module:languages").languages
local ret = "return {"
local ret = "return {"
Line 10: Line 8:
end
end
ret = ret .. "\n}"
ret = ret .. "\n}"
return wrap_b .. ret .. wrap_e
return ret
end
end


return export
return export

Navigation menu