Module:IPAc-de/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 4:
 
function p.toIPA( args )
local ipa = {}""
for k, v in ipairs(args)
do
if k ~= "text"
table.insert(ipa, data[v])
then
ipa = ipa .. data[v]
end
end
return table.concat(ipa)
return mw.getCurrentFrame():expandTemplate({
title = "IPA",
args = {
"de",
ipa,
args["text"]
}
})
end