Module:siwa-pron: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
local export = {} | local export = {} | ||
local lang = "siwa" | |||
local m_IPA = require("Module:IPA") | local m_IPA = require("Module:IPA") | ||
local m_su = require("Module:string utilities") | local m_su = require("Module:string utilities") | ||
Line 261: | Line 262: | ||
local prefix = "[[w:IPA chart|IPA]]<sup>([[IPA for Siwa|key]])</sup>: " | local prefix = "[[w:IPA chart|IPA]]<sup>([[IPA for Siwa|key]])</sup>: " | ||
local span = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>" | local span = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>" | ||
return prefix .. span .. items.pron .. "</span>" | return prefix .. span .. items.pron .. "</span>" | ||
end | end | ||
Line 273: | Line 271: | ||
local IPA_args = {{pron = '[' .. phonetic .. ']'}} | local IPA_args = {{pron = '[' .. phonetic .. ']'}} | ||
table.insert(prons, | table.insert(prons, m_IPA.format_IPA_full(lang, IPA_args)) | ||
end | end | ||
return "(''"..dialect.."'') " .. table.concat(prons, ' or ') | return "(''"..dialect.."'') " .. table.concat(prons, ' or ') |