local p =
function p._main(args, frame, title) args = args or frame = frame or mw.getCurrentFrame title = title or mw.title.getCurrentTitle local italics, italicsAll, lowerCase = false, false, false for k, v in pairs(args) do if type(k)
'kiçik hərf' or v
'kursiv' then italics = true italicsAll = false end if v
false then result = string.format("%s %s", prefix, parentheses) else result = string.format("%s", result) end end if title.namespace ~= 0 then result = title.nsText:gsub('_', ' ') .. ':' .. result end if args['başlıq'] then return result else return frame:callParserFunction('DISPLAYTITLE', result, 'noerror') endend
function p.main(frame) local args = require('Module:Arguments').getArgs(frame,) local title if args['başlıq'] then title = mw.title.new(args['başlıq']) end return p._main(args, frame, title)end
return p