Module:Message box/configuration: Difference between revisions
Module:Message box/configuration (view source)
Revision as of 05:43, 15 October 2022
, 05:43, 15 October 2022Add back in pmbox config
en>Izno (add templatestyles, remove a variable or two as a result) |
en>Xover (Add back in pmbox config) |
||
| Line 248: | Line 248: | ||
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' | |||
} | } | ||
} | } | ||