Module:siwa-pron: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
function export.result(frame)
function export.result(frame)


return "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>" .. m_IPA.format_IPA_full(m_lang, { { pron = '[' .. transcription .. ']' } }) .. "</span>"
return m_IPA.format_IPA_full(m_lang, { { pron = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. transcription .. "]</span>" } })
end
end
return export
return export

Revision as of 20:33, 18 December 2020



local export = {}
	
	local m_IPA = require("Module:IPA")
	local m_lang = require("Module:languages").getByCode("en")
	local transcription = "ˈsivi"
	
	function export.result(frame)

		return m_IPA.format_IPA_full(m_lang, { { pron = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. transcription .. "]</span>" } })
	end
return export