Module:Italic title

local p = {}

function p.main local title = mw.title.getCurrentTitle local prefix, brackets = mw.ustring.match(title.text, '(.+) (%([^%(%)]+%))$') local result if prefix and brackets then result = "''" .. prefix .. "'' " .. brackets else result = "''" .. title.text .. "''"   end result = '' return mw.getCurrentFrame:preprocess(result) end

return p