Module:IPA: Difference between revisions

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


Line 16: Line 17:
local language_pron = "Appendix:" .. language.name .. "_pronunciation"
local language_pron = "Appendix:" .. language.name .. "_pronunciation"
out = ""
out = ""
if not args["nopre"] then
if not args["noprefix"] 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;"