Module:rad-pronunciation: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 21: Line 21:
local p = 1
local p = 1
if args["entry"] ~= nil then
if args["entry"] then word = args["entry"] end
word = args["entry"]
end
-- All possible "modes":
-- All possible "modes":
Line 303: Line 301:
end
end
return IPA_show .. homophones_show .. rhymes_show .. syllables_show
local to_Return = IPA_show .. homophones_show .. rhymes_show .. syllables_show
if args["entry"] then
return mw.ustring.gsub(to_Return, "%[%[Category[^%]]+%]%]","")
else
return to_Return
end
end
end