Module:Message box/configuration: Difference between revisions

Jump to navigation Jump to search
Updated protection icon, change Line 34,86,149,201,244 image = 'Padlock-silver-medium.svg' to image = 'Semi-protection-shackle-keyhole.svg'
MeowyCats2 (talk | contribs)
m 76 revisions imported
 
(21 intermediate revisions by 13 users not shown)
Line 15: Line 15:
class = 'ambox-delete',
class = 'ambox-delete',
image = 'Ambox warning pn.svg'
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ambox-content',
image = 'Ambox important.svg'
},
},
content = {
content = {
Line 47: Line 43:
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,
Line 59: 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 91: Line 89:
class = 'cmbox-notice',
class = 'cmbox-notice',
image = 'Information icon4.svg'
image = 'Information icon4.svg'
},
caution = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
}
}
},
},
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'plainlinks', 'cmbox'},
classes              = {'cmbox'},
imageEmptyCell      = true
imageEmptyCell      = true,
templatestyles      = 'Module:Message box/cmbox.css'
},
},
Line 120: Line 115:
default              = 'system',
default              = 'system',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'plainlinks', 'fmbox'},
classes              = {'fmbox'},
imageEmptyCell      = false,
imageEmptyCell      = false,
imageRightNone      = false
imageRightNone      = false,
templatestyles      = 'Module:Message box/fmbox.css'
},
},
Line 167: Line 163:
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 182: Line 178:
class = 'ombox-delete',
class = 'ombox-delete',
image = 'Ambox warning pn.svg'
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ombox-content',
image = 'Ambox important.svg'
},
},
content = {
content = {
Line 206: Line 198:
class = 'ombox-notice',
class = 'ombox-notice',
image = 'Information icon4.svg'
image = 'Information icon4.svg'
},
critical = {
class = 'mbox-critical',
image = 'Ambox warning pn.svg'
}
}
},
},
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'plainlinks', 'ombox'},
classes              = {'ombox'},
allowSmall          = true,
allowSmall          = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageRightNone      = true
imageRightNone      = true,
templatestyles      = 'Module:Message box/ombox.css'
},
},
Line 253: Line 242:
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'plainlinks', 'tmbox'},
classes              = {'tmbox'},
allowSmall          = true,
allowSmall          = true,
imageRightNone      = true,
imageRightNone      = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageEmptyCellStyle  = true,
templateCategory    = 'Talk message boxes',
templateCategory    = 'Talk message boxes'
templatestyles      = 'Module:Message box/tmbox.css'
}
}
}
}