Module:mg-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 42: | Line 42: | ||
end | end | ||
term = syllabify(term) | |||
for _, rule in ipairs(rules) do | for _, rule in ipairs(rules) do | ||
| Line 83: | Line 83: | ||
function export.show(frame) | function export.show(frame) | ||
local params = { | local params = { | ||
[1] = { default = | [1] = { default = mw.title.getCurrentTitle().text }, | ||
} | } | ||
local args = require("Module:parameters").process(frame:getParent().args, params) | local args = require("Module:parameters").process(frame:getParent().args, params) | ||
local term = args[1] | local term = mw.title.getCurrentTitle().nsText == 'Template' and "gueizuñe" or args[1] | ||
local ipa = "* " | local ipa = "* " | ||