Module:IPAc-en
Appearance
![]() | This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This module implements {{IPAc-en}}. Please see the template page for documentation.
To edit the diaphoneme data, go to Module:IPAc-en/phonemes, and to edit the pronunciation data go to Module:IPAc-en/pronunciation.
This module also uses a data-formatting module at Module:IPAc-en/data.
-- This module implements [[Template:IPAc-en]].
local p = {}
-- Implements [[Template:H:title]].
function makeTitle(title, page, isLinked, isDotted)
local span = mw.html.create('span')
span:attr('title', title)
if isDotted ~= false then
span:css('border-bottom', '1px dotted')
end
span:wikitext(page)
span = tostring(span)
if isLinked then
return string.format('[[%s|%s]]', page, span)
else
return span
end
end
function p._main(args)
end
function p.main(frame)
local args = require('Module:Arguments').getArgs(frame, {
wrappers = 'Template:IPAc-en'
})
return p._main(args)
end
-- return p
return makeTitle