Module:Message box/configuration: Difference between revisions

From Test Wiki
Content deleted Content added
mediawiki>Pppery
Use SVG per edit request
Wikipedia >Pppery
Per edit request
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 38: Line 34:
notice = {
notice = {
class = 'ambox-notice',
class = 'ambox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
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 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'},
removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
templatestyles = 'Module:Message box/ambox.css'
},
},
Line 66: Line 64:
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 90: Line 88:
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'
}
}
},
},
default = 'notice',
default = 'notice',
showInvalidTypeError = true,
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
classes = {'cmbox'},
imageEmptyCell = true
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
},
Line 107: Line 102:
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,
classes = {'plainlinks', 'fmbox'},
classes = {'fmbox'},
imageEmptyCell = false,
imageEmptyCell = false,
imageRightNone = false
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
},
Line 129: Line 125:
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 153: Line 149:
license = {
license = {
class = 'imbox-license licensetpl',
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
image = 'Imbox-license.svg'
},
},
featured = {
featured = {
class = 'imbox-featured',
class = 'imbox-featured',
image = 'Cscr-featured.svg'
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
},
notice = {
notice = {
class = 'imbox-notice',
class = 'imbox-notice',
image = 'OOjs UI icon information-progressive.svg'
image = 'Information icon4.svg'
}
}
},
},
Line 167: Line 168:
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 177: Line 178:
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 205: Line 202:
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'
}
}
},
},
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 224: Line 218:
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 248: Line 242:
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 = {'tmbox'},
allowSmall = true,
allowSmall = true,
imageRightNone = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
imageEmptyCellStyle = true,
templateCategory = 'Talk message boxes'
templatestyles = 'Module:Message box/tmbox.css'
}
}
}
}