Module:Message box/configuration: Difference between revisions

m
1 revision imported
(Per edit request)
m (1 revision imported)
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              = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
templatestyles              = 'Module:Message box/ambox.css'
},
},
Line 84: Line 82:
protection = {
protection = {
class = 'cmbox-protection',
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 93: Line 91:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'cmbox'},
classes              = {'plainlinks', 'cmbox'},
imageEmptyCell      = true,
imageEmptyCell      = true
templatestyles      = 'Module:Message box/cmbox.css'
},
},
Line 115: 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
templatestyles      = 'Module:Message box/fmbox.css'
},
},
Line 145: Line 142:
protection = {
protection = {
class = 'imbox-protection',
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
license = {
license = {
class = 'imbox-license licensetpl',
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
image = 'Imbox license.svg' -- @todo We need an SVG version of this
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
},
},
featured = {
featured = {
class = 'imbox-featured',
class = 'imbox-featured',
image = 'Cscr-featured.svg',
image = 'Cscr-featured.svg'
imageNeedsLink = true
},
},
notice = {
notice = {
Line 168: Line 160:
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'imbox'},
classes              = {'imbox'},
usePlainlinksParam  = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
below                = true,
below                = true,
templateCategory    = 'File message boxes',
templateCategory    = 'File message boxes'
templatestyles      = 'Module:Message box/imbox.css'
},
},
Line 198: Line 190:
protection = {
protection = {
class = 'ombox-protection',
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 207: Line 199:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'ombox'},
classes              = {'plainlinks', 'ombox'},
allowSmall          = true,
allowSmall          = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageRightNone      = true,
imageRightNone      = true
templatestyles      = 'Module:Message box/ombox.css'
},
},
Line 238: Line 229:
protection = {
protection = {
class = 'tmbox-protection',
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
Line 247: Line 238:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'tmbox'},
classes              = {'plainlinks', 'tmbox'},
allowId              = true,
allowSmall          = true,
allowSmall          = true,
imageRightNone      = true,
imageRightNone      = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
templateCategory    = 'Talk message boxes',
imageEmptyCellStyle  = true,
templatestyles      = 'Module:Message box/tmbox.css'
templateCategory    = 'Talk message boxes'
}
}
}
}