Module:Message box/configuration: Difference between revisions

Jump to navigation Jump to search
Mediawiki>Pppery
(Remove error category; it was the idea of one enwiki-an years ago and there's no evidence anyone on MediaWiki.org cares)
m (1 revision imported)
Line 10: Line 10:
speedy = {
speedy = {
class = 'ambox-speedy',
class = 'ambox-speedy',
image = 'OOjs UI icon clock-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'ambox-delete',
class = 'ambox-delete',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ambox-content',
image = 'OOjs UI icon notice-warning.svg'
},
},
content = {
content = {
class = 'ambox-content',
class = 'ambox-content',
image = 'OOjs UI icon notice-warning.svg'
image = 'Ambox important.svg'
},
},
style = {
style = {
Line 34: Line 30:
protection = {
protection = {
class = 'ambox-protection',
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
class = 'ambox-notice',
class = 'ambox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
Line 58: Line 54:
templateCategory            = 'Article message templates',
templateCategory            = 'Article message templates',
        templateCategoryRequireName = true,
        templateCategoryRequireName = true,
templateErrorCategory      = nil,
templateErrorCategory      = 'Article message templates with missing parameters',
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}
templateErrorParamsToCheck  = {'issue', 'fix', 'subst'}
},
},
Line 66: Line 62:
speedy = {
speedy = {
class = 'cmbox-speedy',
class = 'cmbox-speedy',
image = 'OOjs UI icon clock-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'cmbox-delete',
class = 'cmbox-delete',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'cmbox-content',
class = 'cmbox-content',
image = 'OOjs UI icon notice-warning.svg'
image = 'Ambox important.svg'
},
},
style = {
style = {
Line 86: Line 82:
protection = {
protection = {
class = 'cmbox-protection',
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
class = 'cmbox-notice',
class = 'cmbox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
},
caution = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
}
}
},
},
Line 107: Line 99:
warning = {
warning = {
class = 'fmbox-warning',
class = 'fmbox-warning',
image = 'OOjs UI icon clock-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
editnotice = {
editnotice = {
class = 'fmbox-editnotice',
class = 'fmbox-editnotice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
},
},
system = {
system = {
class = 'fmbox-system',
class = 'fmbox-system',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
default              = 'system',
default              = 'system',
showInvalidTypeError = true,
showInvalidTypeError = true,
allowId                = true,
classes              = {'plainlinks', 'fmbox'},
classes              = {'plainlinks', 'fmbox'},
imageEmptyCell      = false,
imageEmptyCell      = false,
Line 129: Line 122:
speedy = {
speedy = {
class = 'imbox-speedy',
class = 'imbox-speedy',
image = 'OOjs UI icon clock-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'imbox-delete',
class = 'imbox-delete',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'imbox-content',
class = 'imbox-content',
image = 'OOjs UI icon notice-warning.svg'
image = 'Ambox important.svg'
},
},
style = {
style = {
Line 149: Line 142:
protection = {
protection = {
class = 'imbox-protection',
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
license = {
license = {
Line 161: Line 154:
notice = {
notice = {
class = 'imbox-notice',
class = 'imbox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
Line 177: Line 170:
speedy = {
speedy = {
class = 'ombox-speedy',
class = 'ombox-speedy',
image = 'OOjs UI icon clock-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'ombox-delete',
class = 'ombox-delete',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
warning = { -- alias for content
class = 'ombox-content',
image = 'OOjs UI icon notice-warning.svg'
},
},
content = {
content = {
class = 'ombox-content',
class = 'ombox-content',
image = 'OOjs UI icon notice-warning.svg'
image = 'Ambox important.svg'
},
},
style = {
style = {
Line 201: Line 190:
protection = {
protection = {
class = 'ombox-protection',
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
class = 'ombox-notice',
class = 'ombox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
},
critical = {
class = 'mbox-critical',
image = 'OOjs UI icon clock-destructive.svg'
}
}
},
},
Line 224: Line 209:
speedy = {
speedy = {
class = 'tmbox-speedy',
class = 'tmbox-speedy',
image = 'OOjs UI icon clock-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
delete = {
delete = {
class = 'tmbox-delete',
class = 'tmbox-delete',
image = 'OOjs UI icon alert-destructive.svg'
image = 'Ambox warning pn.svg'
},
},
content = {
content = {
class = 'tmbox-content',
class = 'tmbox-content',
image = 'OOjs UI icon notice-warning.svg'
image = 'Ambox important.svg'
},
},
style = {
style = {
Line 244: Line 229:
protection = {
protection = {
class = 'tmbox-protection',
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
image = 'Padlock-silver-medium.svg'
},
},
notice = {
notice = {
class = 'tmbox-notice',
class = 'tmbox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
default              = 'notice',
default              = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'plainlinks', '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'
}
}
}
}