Module:Message box/configuration: Difference between revisions

m
1 revision imported
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 56: Line 56:
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]]'
removalNotice              = '<small>[[Help:Maintenance template removal|Learn how and when to remove this message]]</small>',
templatestyles              = 'Module:Message box/ambox.css'
},
},
Line 93: Line 94:
showInvalidTypeError = true,
showInvalidTypeError = true,
classes              = {'cmbox'},
classes              = {'cmbox'},
imageEmptyCell      = true
imageEmptyCell      = true,
templatestyles      = 'Module:Message box/cmbox.css'
},
},
Line 115: Line 117:
classes              = {'fmbox'},
classes              = {'fmbox'},
imageEmptyCell      = false,
imageEmptyCell      = false,
imageRightNone      = false
imageRightNone      = false,
templatestyles      = 'Module:Message box/fmbox.css'
},
},
Line 146: Line 149:
license = {
license = {
class = 'imbox-license licensetpl',
class = 'imbox-license licensetpl',
image = 'Imbox license.png' -- @todo We need an SVG version of this
image = 'Imbox-license.svg'
},
["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 162: Line 170:
imageEmptyCell      = true,
imageEmptyCell      = true,
below                = true,
below                = true,
templateCategory    = 'File message boxes'
templateCategory    = 'File message boxes',
templatestyles      = 'Module:Message box/imbox.css'
},
},
Line 201: Line 210:
allowSmall          = true,
allowSmall          = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageRightNone      = true
imageRightNone      = true,
templatestyles      = 'Module:Message box/ombox.css'
},
},
Line 241: Line 251:
imageRightNone      = true,
imageRightNone      = true,
imageEmptyCell      = true,
imageEmptyCell      = true,
imageEmptyCellStyle  = true,
templateCategory    = 'Talk message boxes',
templateCategory    = 'Talk message boxes'
templatestyles      = 'Module:Message box/tmbox.css'
}
}
}
}