45,341
edits
No edit summary |
No edit summary |
||
Line 256: | Line 256: | ||
end | end | ||
function IPA_format(items) | |||
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>" | |||
return prefix .. span .. items.pron .. "</span>" | return prefix .. span .. items.pron .. "</span>" | ||
end | |||
function make_row(phonetic, dials) | function make_row(phonetic, dials) | ||
local full_pronuns = {} | local full_pronuns = {} | ||
local IPA_args = {{pron = '[' .. phonetic .. ']'}} | local IPA_args = {{pron = '[' .. phonetic .. ']'}} | ||
table.insert(full_pronuns, | table.insert(full_pronuns, IPA_format(IPA_args)) | ||
return "(''" .. dials .. "'')" .. ' ' .. table.concat(full_pronuns, ' or ') | return "(''" .. dials .. "'')" .. ' ' .. table.concat(full_pronuns, ' or ') | ||
end | end |