Module:IPA: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 5: Line 5:
nolarge = {type = "boolean"},
nolarge = {type = "boolean"},
linked = {type = "boolean"},
linked = {type = "boolean"},
nopre = {alias = "noprefix"},
nopre = {type = "boolean"},
noprefix = {type = "boolean"},
}
}


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