模块:Message box:修订间差异

imported>Shizhao
格式化时间
imported>Xiplus
per EP
第246行: 第246行:
local sect
local sect
if args.sect == '' then
if args.sect == '' then
sect = '' .. (cfg.sectionDefault or '頁面')
sect = '' .. (cfg.sectionDefault or '頁面')
elseif type(args.sect) == 'string' then
elseif type(args.sect) == 'string' then
sect = '' .. args.sect
sect = '' .. args.sect
end
end
local issue = args.issue
local issue = args.issue
第602行: 第602行:
:tag('div')
:tag('div')
:css('text-align', 'center')
:css('text-align', 'center')
:wikitext(format('本訊息框使用無效的「type=%s」參數,需要修復。', self.type or ''))
:wikitext(format('此訊息框使用無效的「type=%s」參數,需要修復。', self.type or ''))
end
end