匿名用戶
無編輯摘要
imported>DC (建立內容為「-- This is a meta-module for producing message box templates, including {{mbox}}, {{ambox}}, {{imbox}}, {{tmbox}}, {{ombox}}, {{cmbox}} and {{fmbox}}. -- Require…」的新頁面) |
imported>DC 無編輯摘要 |
||
(未顯示同一使用者於中間所作的 1 次修訂) | |||
第283行: | 第283行: | ||
local talkText = '相關討論可見於' | local talkText = '相關討論可見於' | ||
if talkArgIsTalkPage then | if talkArgIsTalkPage then | ||
talkText = format('%s[[%s|%s]] | talkText = format('%s[[%s|%s]]。', talkText, talk, talkTitle.prefixedText) | ||
else | else | ||
talkText = format('%s[[%s#%s|討論頁]] | talkText = format('%s[[%s#%s|討論頁]]。', talkText, talkTitle.prefixedText, talk) | ||
end | end | ||
self.talk = talkText | self.talk = talkText | ||
第433行: | 第433行: | ||
catTitle = getTitleObject('Category:' .. catTitle) | catTitle = getTitleObject('Category:' .. catTitle) | ||
if not catTitle or not catTitle.exists then | if not catTitle or not catTitle.exists then | ||
self:addCat('main', ' | self:addCat('main', '模板中使用無效日期參數的條目') | ||
end | end | ||
elseif mainCat and (not date or date == '') then | elseif mainCat and (not date or date == '') then | ||
第484行: | 第484行: | ||
if self.invalidTypeError then | if self.invalidTypeError then | ||
local allSort = (self.nsid == 0 and 'Main:' or '') .. self.title.prefixedText | local allSort = (self.nsid == 0 and 'Main:' or '') .. self.title.prefixedText | ||
self:addCat('all', ' | self:addCat('all', '需要修復的信息框', allSort) | ||
end | end | ||
if self.isSubstituted then | if self.isSubstituted then |