Module:IPAc-nl: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 61:
if #phonemes > 0 then
local span = mw.html.create('span')
:addClass('IPA nopopups')
:wikitext(table.concat(phonemes))
return tostring(span)
Line 116 ⟶ 117:
-- underline the phoneme groups, not the separators.
local words = {}
words[#words + 1] = '[[' -- Opening slash
i = i - 1 -- Set up i again as it was changed in the pronunciation loop
local id
Line 161 ⟶ 162:
end
until not id
words[#words + 1] = ']]' -- Closing slash
 
-- Wrap the words in a link to IPA help.