Module:Message box/configuration: Difference between revisions

m
8 revisions imported from w:en:Module:Message_box/configuration
m (1 revision imported)
Wikimedia+Commons>Magog the Ogre
m (8 revisions imported from w:en:Module:Message_box/configuration)
Line 30: Line 30:
protection = {
protection = {
class = 'ambox-protection',
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 43: Line 43:
smallClass                  = 'mbox-small-left',
smallClass                  = 'mbox-small-left',
substCheck                  = true,
substCheck                  = true,
classes                    = {'metadata', 'ambox'},
classes                    = {'metadata', 'plainlinks', 'ambox'},
imageEmptyCell              = true,
imageEmptyCell              = true,
imageCheckBlank            = true,
imageCheckBlank            = true,
Line 55: Line 55:
        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]]'
},
},
Line 83: Line 82:
protection = {
protection = {
class = 'cmbox-protection',
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 92: Line 91:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'cmbox'},
classes              = {'plainlinks', 'cmbox'},
imageEmptyCell      = true
imageEmptyCell      = true
},
},
Line 113: Line 112:
default              = 'system',
default              = 'system',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'fmbox'},
allowId                = true,
classes              = {'plainlinks', 'fmbox'},
imageEmptyCell      = false,
imageEmptyCell      = false,
imageRightNone      = false
imageRightNone      = false
Line 142: Line 142:
protection = {
protection = {
class = 'imbox-protection',
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
license = {
license = {
Line 160: Line 160:
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'imbox'},
classes              = {'imbox'},
usePlainlinksParam  = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
below                = true,
below                = true,
Line 189: Line 190:
protection = {
protection = {
class = 'ombox-protection',
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 198: Line 199:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'ombox'},
classes              = {'plainlinks', 'ombox'},
allowSmall          = true,
allowSmall          = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
Line 228: Line 229:
protection = {
protection = {
class = 'tmbox-protection',
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 237: Line 238:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'tmbox'},
classes              = {'plainlinks', 'layouttemplate', 'tmbox'},
allowId              = true,
allowSmall          = true,
allowSmall          = true,
imageRightNone      = true,
imageRightNone      = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageEmptyCellStyle  = true,
imageEmptyCellStyle  = true,
templateCategory    = 'Talk message boxes'
-- templateCategory    = 'Talk message boxes'
}
}
}
}