Module:siwa-pron: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
m_IPA = require("Module:IPA")
m_IPA = require("Module:IPA")
accent="(\''Aingo\'') "


function export.show(frame)
function export.show(frame)
Line 11: Line 13:
trans = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. mw.title.getCurrentTitle().text .. "]</span>"
trans = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. mw.title.getCurrentTitle().text .. "]</span>"


output = prefix..trans
output = accent..prefix..trans
return output
return output

Revision as of 20:47, 23 December 2020



local export = {}
	
m_IPA = require("Module:IPA")

accent="(\''Aingo\'') "

function export.show(frame)
	IPA_key = "IPA for Siwa"
	key_link = "[[" .. IPA_key .. "|key]]"

	local prefix = "[[w:IPA chart|IPA]]<sup>(" .. key_link .. ")</sup>:&#32;"
	
	trans = "<span style=\"font-size:110%;font-family:Gentium,'DejaVu Sans','Segoe UI',sans-serif>[" .. mw.title.getCurrentTitle().text .. "]</span>"

	output = accent..prefix..trans
	
	return output
end

return export