Module:rad-pronunciation: Difference between revisions

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

Navigation menu