Module:IPAc-de
Appearance
| This module is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. |
| This module's documentation is missing, inadequate, or does not accurately describe its functionality or the parameters in its code. Please help add, expand, or improve it. (August 2025) |
Usage
[edit]{{#invoke:IPAc-de|function_name}}
local data = mw.loadData( 'Module:IPAc-de/data' )
local p = {}
function p.toIPA( args )
local ipa = ""
for k, v in ipairs(args)
do
if k ~= "text"
then
ipa = ipa .. data[v]
end
end
return mw.getCurrentFrame():expandTemplate({
title = "IPA",
args = {
"de",
ipa,
args["text"]
}
})
end
function p.main( frame )
return p.toIPA( frame:getParent().args )
end
return p