Module:Message box/configuration: Difference between revisions
Per request on talk |
m 1 revision imported |
||
Line 38: | Line 38: | ||
}, | }, | ||
default = 'notice', | default = 'notice', | ||
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix | allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'hidden'}, | ||
allowSmall = true, | allowSmall = true, | ||
smallParam = 'left', | smallParam = 'left', | ||
smallClass = 'mbox-small-left', | smallClass = 'mbox-small-left', | ||
classes = {'metadata', 'ambox'}, | classes = {'metadata', 'ambox'}, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
Line 55: | Line 54: | ||
templateCategoryRequireName = true, | templateCategoryRequireName = true, | ||
templateErrorCategory = 'Article message templates with missing parameters', | templateErrorCategory = 'Article message templates with missing parameters', | ||
templateErrorParamsToCheck = {'issue', 'fix | templateErrorParamsToCheck = {'issue', 'fix'}, | ||
}, | }, | ||
Line 94: | Line 91: | ||
showInvalidTypeError = true, | showInvalidTypeError = true, | ||
classes = {'cmbox'}, | classes = {'cmbox'}, | ||
imageEmptyCell = true | imageEmptyCell = true | ||
}, | }, | ||
Line 117: | Line 113: | ||
classes = {'fmbox'}, | classes = {'fmbox'}, | ||
imageEmptyCell = false, | imageEmptyCell = false, | ||
imageRightNone = false | imageRightNone = false | ||
}, | }, | ||
Line 149: | Line 144: | ||
license = { | license = { | ||
class = 'imbox-license licensetpl', | class = 'imbox-license licensetpl', | ||
image = 'Imbox | image = 'Imbox license.png' -- @todo We need an SVG version of this | ||
}, | }, | ||
featured = { | featured = { | ||
class = 'imbox-featured', | class = 'imbox-featured', | ||
image = 'Cscr-featured.svg' | image = 'Cscr-featured.svg' | ||
}, | }, | ||
notice = { | notice = { | ||
Line 170: | Line 160: | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
below = true, | below = true, | ||
templateCategory = 'File message boxes | templateCategory = 'File message boxes' | ||
}, | }, | ||
Line 210: | Line 199: | ||
allowSmall = true, | allowSmall = true, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
imageRightNone = true | imageRightNone = true | ||
}, | }, | ||
Line 251: | Line 239: | ||
imageRightNone = true, | imageRightNone = true, | ||
imageEmptyCell = true, | imageEmptyCell = true, | ||
templateCategory = 'Talk message boxes | imageEmptyCellStyle = true, | ||
templateCategory = 'Talk message boxes' | |||
} | } | ||
} | } |