Модуль:Message box: Розніца паміж версіямі

[дагледжаная версія][дагледжаная версія]
Змесціва выдалена Змесціва дададзена
Няма тлумачэння праўкі
Няма тлумачэння праўкі
Радок 224:
self.issue = args.smalltext
else
if args.sect =and args.sect ~= '' or nil then
local sect
local issueissue_sect = args.issueissue_sect
if args.sect == '' then
issue issue_sect = type(issueissue_sect) == 'string' and issueissue_sect ~= '' and issueissue_sect or nil
sect = '<span style="font-weight:bold">Эта ' .. (cfg.sectionDefault or 'статья') .. '</span>'
local texttext_sect = args.texttext_sect
elseif type(args.sect) == 'string' then
text text_sect = type(texttext_sect) == 'string' and texttext_sect ~= '' and text_sect or nil
sect = '<span style="font-weight:bold">' .. args.sect .. '</span>'
local sectissues = {}
table.insert(issues, sectissue_sect)
table.insert(issues, issuetext_sect)
self.issue = table.concat(issues, ' ')
else
local issuesissue = {}args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
elseif text = type(args.secttext) == 'string' thenand text or nil
local issues = {}
table.insert(issues, textissue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end
local issue = args.issue
issue = type(issue) == 'string' and issue ~= '' and issue or nil
local text = args.text
text = type(text) == 'string' and text or nil
local issues = {}
table.insert(issues, sect)
table.insert(issues, issue)
table.insert(issues, text)
self.issue = table.concat(issues, ' ')
end