Module:IPA: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 5: Line 5:
nolarge = {type = "boolean"},
nolarge = {type = "boolean"},
linked = {type = "boolean"},
linked = {type = "boolean"},
nopre = {type = "boolean"},
}
}


Line 14: Line 15:
end
end
local language_pron = "Appendix:" .. language.name .. "_pronunciation"
local language_pron = "Appendix:" .. language.name .. "_pronunciation"
out = "[[w:International_Phonetic_Alphabet|IPA]]"
out = ""
out = out .. "<sup>([[" .. language_pron .. "|key]])</sup>:&nbsp;"
if not args["nopre"] then
out = out .. "[[w:International_Phonetic_Alphabet|IPA]]"
out = out .. "<sup>([[" .. language_pron .. "|key]])</sup>:&nbsp;"
end
local class = "IPA"
local class = "IPA"
if args["nolarge"] then class = class .. " nolarge" end
if args["nolarge"] then class = class .. " nolarge" end

Navigation menu