Module:Message box/configuration: Difference between revisions

en>Xover
Add back in pmbox config
m 1 revision imported
 
(15 intermediate revisions by 8 users 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              = '<small>[[Help:Maintenance template removal|Learn how and when to remove this template message]]</small>',
removalNotice              = '<small>[[Help:Maintenance template removal|Learn how and when to remove this message]]</small>',
templatestyles              = 'Module:Message box/ambox.css'
templatestyles              = 'Module:Message box/ambox.css'
},
},
Line 95: Line 95:
classes              = {'cmbox'},
classes              = {'cmbox'},
imageEmptyCell      = true,
imageEmptyCell      = true,
templatestyles      = 'Module:Message box/cmbox.css'
templatestyles      = 'Module:Message box/cmbox.css',
div_structure        = true,
},
},
Line 118: Line 119:
imageEmptyCell      = false,
imageEmptyCell      = false,
imageRightNone      = false,
imageRightNone      = false,
templatestyles      = 'Module:Message box/fmbox.css'
templatestyles      = 'Module:Message box/fmbox.css',
div_structure        = true,
},
},
Line 149: Line 151:
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 166: Line 173:
below                = true,
below                = true,
templateCategory    = 'File message boxes',
templateCategory    = 'File message boxes',
templatestyles      = 'Module:Message box/imbox.css'
templatestyles      = 'Module:Message box/imbox.css',
div_structure        = true,
},
},
Line 248: Line 256:
templateCategory    = 'Talk message boxes',
templateCategory    = 'Talk message boxes',
templatestyles      = 'Module:Message box/tmbox.css'
templatestyles      = 'Module:Message box/tmbox.css'
},
pmbox = {
types = {
speedy = {
class = 'pmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'pmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'pmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'pmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'pmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'pmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'pmbox-notice',
image = 'Information icon4.svg'
}
},
default                    = 'notice',
allowBlankParams            = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall                  = true,
smallParam                  = 'left',
smallClass                  = 'mbox-small-left',
substCheck                  = true,
classes                    = {'metadata', 'pmbox'},
imageEmptyCell              = true,
imageCheckBlank            = true,
imageSmallSize              = '20x20px',
imageCellDiv                = true,
useCollapsibleTextFields    = true,
imageRightNone              = true,
sectionDefault              = 'article',
allowMainspaceCategories    = true,
templateCategory            = 'Article message templates',
        templateCategoryRequireName = true,
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/pmbox.css'
}
}
}
}