Module:IPA: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 10: Line 10:
[1] = {},
[1] = {},
[2] = {list = true},
[2] = {list = true},
}
local params_inline_linkless = {
[1] = {list = true},
}
}


Line 79: Line 82:


function export.show_inline_linkless(frame)
function export.show_inline_linkless(frame)
local args = require("Module:parameters").process(frame:getParent().args, params_inline)
local args = require("Module:parameters").process(frame:getParent().args, params_inline_linkless)
local language = require("Module:languages").get_by_code(args[1])
return format_ipa({name = ""}, args[1], true, true, false)
return format_ipa(language, args[2], true, true, false)
end
end