Module:Message box/configuration: Difference between revisions
add back in local pmbox config
m (1 revision imported: Importing Custome Rule Template) |
enws>Xover (add back in local pmbox config) |
||
| Line 53: | Line 53: | ||
allowMainspaceCategories = true, | allowMainspaceCategories = true, | ||
templateCategory = 'Article message templates', | templateCategory = 'Article message templates', | ||
templateCategoryRequireName = true, | |||
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 | 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' | ||
}, | }, | ||
cmbox = { | cmbox = { | ||
types = { | types = { | ||
| Line 97: | Line 97: | ||
templatestyles = 'Module:Message box/cmbox.css' | templatestyles = 'Module:Message box/cmbox.css' | ||
}, | }, | ||
fmbox = { | fmbox = { | ||
types = { | types = { | ||
| Line 120: | Line 120: | ||
templatestyles = 'Module:Message box/fmbox.css' | templatestyles = 'Module:Message box/fmbox.css' | ||
}, | }, | ||
imbox = { | imbox = { | ||
types = { | types = { | ||
| Line 149: | Line 149: | ||
license = { | license = { | ||
class = 'imbox-license licensetpl', | class = 'imbox-license licensetpl', | ||
image = 'Imbox-license.svg' | |||
}, | |||
["license-related"] = { | |||
class = 'imbox-license', | |||
image = 'Imbox-license.svg' | image = 'Imbox-license.svg' | ||
}, | }, | ||
| Line 169: | Line 173: | ||
templatestyles = 'Module:Message box/imbox.css' | templatestyles = 'Module:Message box/imbox.css' | ||
}, | }, | ||
ombox = { | ombox = { | ||
types = { | types = { | ||
| Line 209: | Line 213: | ||
templatestyles = 'Module:Message box/ombox.css' | templatestyles = 'Module:Message box/ombox.css' | ||
}, | }, | ||
tmbox = { | tmbox = { | ||
types = { | types = { | ||
| Line 298: | Line 302: | ||
allowMainspaceCategories = true, | allowMainspaceCategories = true, | ||
templateCategory = 'Article message templates', | templateCategory = 'Article message templates', | ||
templateCategoryRequireName = true, | |||
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 | removalNotice = '<small>[[Help:Maintenance template removal|Learn how and when to remove this message]]</small>', | ||
templatestyles = 'Module:Message box/pmbox.css' | templatestyles = 'Module:Message box/pmbox.css' | ||
} | } | ||
} | } | ||