Module:siwa-pron: Difference between revisions
No edit summary |
No edit summary |
||
| Line 287: | Line 287: | ||
end | end | ||
if args.e | if args.e and separate_word(term, true, false, false) ~= separate_word(term, false, true, false) then | ||
if args.a then | |||
ipa = ipa .. "\n* " | |||
end | |||
ipa = ipa .. line_format(separate_word(term, true, true, false), {'Eastern'}) | |||
if mw.title.getCurrentTitle().nsText ~= 'Template' then | |||
table.insert(categories, "Siwa lemmas with Eastern IPA pronunciation") | |||
end | end | ||
end | end | ||
| Line 309: | Line 307: | ||
end | end | ||
if args.r and | if args.r and find(term, "ɵ") then | ||
if args.a or args.e or args.w then | if args.a or args.e or args.w then | ||
ipa = ipa .. "\n* " | ipa = ipa .. "\n* " | ||
end | end | ||
ipa = ipa .. line_format(separate_word(term, true, false, true), {' | ipa = ipa .. line_format(separate_word(term, true, false, true), {'Regna'}) | ||
end | end | ||
return ipa .. ncategories(categories) | return ipa .. ncategories(categories) | ||