10,794
edits
TheNightAvl (talk | contribs) m (Added automatic brackets) |
TheNightAvl (talk | contribs) No edit summary |
||
Line 1,347: | Line 1,347: | ||
outputIPA = syllables_to_string(outputIPA) | outputIPA = syllables_to_string(outputIPA) | ||
if parameters["phon"] then | if parameters["phon"] and parameters["format"] then | ||
outputIPA = "[" .. outputIPA .. "]" | outputIPA = "<span class=\"IPA\">[" .. outputIPA .. "]</span>" | ||
elseif parameters["format"] then | |||
outputIPA = "/" .. outputIPA .. "/" | outputIPA = "<span class=\"IPA\">/" .. outputIPA .. "/</span>" | ||
end | end | ||
mw.log(outputIPA) | mw.log(outputIPA) | ||
return | return outputIPA | ||
end | end |