Module:Message box/configuration: Difference between revisions

m
(tweak removal notice)
m (1 revision imported from wikipedia:Module:Message_box/configuration)
 
(10 intermediate revisions by 7 users not shown)
Line 30:
protection = {
class = 'ambox-protection',
image = 'PadlockSemi-silverprotection-mediumshackle-keyhole.svg'
},
notice = {
Line 43:
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'plainlinks', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
Line 56:
templateErrorCategory = 'Article message templates with missing parameters',
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 83 ⟶ 84:
protection = {
class = 'cmbox-protection',
image = 'PadlockSemi-silverprotection-mediumshackle-keyhole.svg'
},
notice = {
Line 92 ⟶ 93:
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
Line 113 ⟶ 115:
default = 'system',
showInvalidTypeError = true,
classes = {'plainlinks', 'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
Line 142 ⟶ 145:
protection = {
class = 'imbox-protection',
image = 'PadlockSemi-silverprotection-mediumshackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox -license.pngsvg' -- @todo We need an SVG version of this
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
notice = {
Line 160 ⟶ 164:
showInvalidTypeError = true,
classes = {'imbox'},
usePlainlinksParam = true,
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css'
},
Line 190 ⟶ 194:
protection = {
class = 'ombox-protection',
image = 'PadlockSemi-silverprotection-mediumshackle-keyhole.svg'
},
notice = {
Line 199 ⟶ 203:
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
Line 229 ⟶ 234:
protection = {
class = 'tmbox-protection',
image = 'PadlockSemi-silverprotection-mediumshackle-keyhole.svg'
},
notice = {
Line 238 ⟶ 243:
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
imageEmptyCellStyle = true,
templateCategorytemplatestyles = 'Talk messageModule:Message boxesbox/tmbox.css'
}
}