Changes
Module:Message box/configuration (view source)
Revision as of 12:09, 29 November 2018
, 12:09, 29 November 2018Use semi protection shackle with keyhole to genericize the protection icon, per talk page request
protection = {
protection = {
class = 'ambox-protection',
class = 'ambox-protection',
image = 'Padlock-silver-medium.svg'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
smallClass = 'mbox-small-left',
smallClass = 'mbox-small-left',
substCheck = true,
substCheck = true,
classes = {'metadata', 'plainlinks', 'ambox'},
classes = {'metadata', 'ambox'},
imageEmptyCell = true,
imageEmptyCell = true,
imageCheckBlank = true,
imageCheckBlank = true,
templateCategoryRequireName = true,
templateCategoryRequireName = true,
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorCategory = 'Article message templates with missing parameters',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
templateErrorParamsToCheck = {'issue', 'fix', 'subst'},
removalNotice = '[[Help:Maintenance template removal|Learn how and when to remove this template message]]'
},
},
protection = {
protection = {
class = 'cmbox-protection',
class = 'cmbox-protection',
image = 'Padlock-silver-medium.svg'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
default = 'notice',
default = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
classes = {'cmbox'},
imageEmptyCell = true
imageEmptyCell = true
},
},
default = 'system',
default = 'system',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes = {'fmbox'},
classes = {'plainlinks', 'fmbox'},
imageEmptyCell = false,
imageEmptyCell = false,
imageRightNone = false
imageRightNone = false
protection = {
protection = {
class = 'imbox-protection',
class = 'imbox-protection',
image = 'Padlock-silver-medium.svg'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
license = {
license = {
showInvalidTypeError = true,
showInvalidTypeError = true,
classes = {'imbox'},
classes = {'imbox'},
imageEmptyCell = true,
imageEmptyCell = true,
below = true,
below = true,
protection = {
protection = {
class = 'ombox-protection',
class = 'ombox-protection',
image = 'Padlock-silver-medium.svg'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
default = 'notice',
default = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes = {'plainlinks', 'ombox'},
classes = {'ombox'},
allowSmall = true,
allowSmall = true,
imageEmptyCell = true,
imageEmptyCell = true,
protection = {
protection = {
class = 'tmbox-protection',
class = 'tmbox-protection',
image = 'Padlock-silver-medium.svg'
image = 'Semi-protection-shackle-keyhole.svg'
},
},
notice = {
notice = {
default = 'notice',
default = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes = {'plainlinks', 'tmbox'},
classes = {'tmbox'},
allowSmall = true,
allowSmall = true,
imageRightNone = true,
imageRightNone = true,