更改

fix pmbox
第57行: 第57行:  
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
 
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'},
 
removalNotice        = '[[Help:维护模板移除|了解何时移除模板消息]]'
 
removalNotice        = '[[Help:维护模板移除|了解何时移除模板消息]]'
 +
},
 +
 +
 +
pmbox = {
 +
types = {
 +
speedy = {
 +
class = 'ambox-speedy',
 +
image = 'Ambox warning pn.svg'
 +
},
 +
delete = {
 +
class = 'ambox-delete',
 +
image = 'Ambox warning pn.svg'
 +
},
 +
content = {
 +
class = 'ambox-content',
 +
image = 'Ambox important.svg'
 +
},
 +
style = {
 +
class = 'ambox-style',
 +
image = 'Edit-clear.svg'
 +
},
 +
move = {
 +
class = 'ambox-move',
 +
image = 'Merge-split-transwiki default.svg'
 +
},
 +
protection = {
 +
class = 'ambox-protection',
 +
image = 'Padlock-silver-medium.svg'
 +
},
 +
notice = {
 +
class = 'ambox-notice',
 +
image = 'Information icon4.svg'
 +
}
 +
},
 +
default           = 'notice',
 +
allowBlankParams       = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
 +
allowSmall          = true,
 +
smallParam          = 'left',
 +
smallClass          = 'mbox-small-left',
 +
substCheck          = true,
 +
classes           = {'metadata', 'plainlinks', 'pmbox'},
 +
imageEmptyCell        = true,
 +
imageCheckBlank       = true,
 +
imageSmallSize        = '20x20px',
 +
imageCellDiv         = true,
 +
useCollapsibleTextFields   = true,
 +
imageRightNone        = true,
 +
sectionDefault        = 'article',
 +
allowMainspaceCategories   = true,
 +
templateCategory       = 'Article message templates',
 +
     templateCategoryRequireName = true,
 +
-- templateErrorCategory    = 'Article message templates with missing parameters',
 +
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}
 
},
 
},
 
 
第95行: 第148行:  
imageEmptyCell    = true
 
imageEmptyCell    = true
 
},
 
},
+
 
 
fmbox = {
 
fmbox = {
 
types = {
 
types = {
匿名用户