Module:Message box/configuration: Difference between revisions
From girlwiki
No edit summary |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
speedy = { | speedy = { | ||
class = 'ambox-speedy', | class = 'ambox-speedy', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'ambox-delete', | class = 'ambox-delete', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
content = { | content = { | ||
Line 22: | Line 22: | ||
style = { | style = { | ||
class = 'ambox-style', | class = 'ambox-style', | ||
image = ' | image = 'DiskCleanup icon.png' | ||
}, | }, | ||
move = { | move = { | ||
Line 64: | Line 64: | ||
speedy = { | speedy = { | ||
class = 'cmbox-speedy', | class = 'cmbox-speedy', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'cmbox-delete', | class = 'cmbox-delete', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
content = { | content = { | ||
Line 76: | Line 76: | ||
style = { | style = { | ||
class = 'cmbox-style', | class = 'cmbox-style', | ||
image = ' | image = 'DiskCleanup icon.png' | ||
}, | }, | ||
move = { | move = { | ||
Line 102: | Line 102: | ||
warning = { | warning = { | ||
class = 'fmbox-warning', | class = 'fmbox-warning', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
editnotice = { | editnotice = { | ||
Line 125: | Line 125: | ||
speedy = { | speedy = { | ||
class = 'imbox-speedy', | class = 'imbox-speedy', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'imbox-delete', | class = 'imbox-delete', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
content = { | content = { | ||
Line 137: | Line 137: | ||
style = { | style = { | ||
class = 'imbox-style', | class = 'imbox-style', | ||
image = ' | image = 'DiskCleanup icon.png' | ||
}, | }, | ||
move = { | move = { | ||
Line 173: | Line 173: | ||
speedy = { | speedy = { | ||
class = 'ombox-speedy', | class = 'ombox-speedy', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'ombox-delete', | class = 'ombox-delete', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
content = { | content = { | ||
Line 185: | Line 185: | ||
style = { | style = { | ||
class = 'ombox-style', | class = 'ombox-style', | ||
image = ' | image = 'DiskCleanup icon.png' | ||
}, | }, | ||
move = { | move = { | ||
Line 213: | Line 213: | ||
speedy = { | speedy = { | ||
class = 'tmbox-speedy', | class = 'tmbox-speedy', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
delete = { | delete = { | ||
class = 'tmbox-delete', | class = 'tmbox-delete', | ||
image = ' | image = 'Warning icon.png' | ||
}, | }, | ||
content = { | content = { | ||
Line 225: | Line 225: | ||
style = { | style = { | ||
class = 'tmbox-style', | class = 'tmbox-style', | ||
image = ' | image = 'DiskCleanup icon.png' | ||
}, | }, | ||
move = { | move = { |
Latest revision as of 00:39, 31 January 2023
Configuration for Module:Message box.
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Warning icon.png'
},
delete = {
class = 'ambox-delete',
image = 'Warning icon.png'
},
content = {
class = 'ambox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ambox-style',
image = 'DiskCleanup icon.png'
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = 'Information icon.png'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
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/ambox.css'
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Warning icon.png'
},
delete = {
class = 'cmbox-delete',
image = 'Warning icon.png'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'DiskCleanup icon.png'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Warning icon.png'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon.png'
},
system = {
class = 'fmbox-system',
image = 'Information icon.png'
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Warning icon.png'
},
delete = {
class = 'imbox-delete',
image = 'Warning icon.png'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'DiskCleanup icon.png'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox license.png' -- @todo We need an SVG version of this
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = 'Information icon.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = 'File message boxes',
templatestyles = 'Module:Message box/imbox.css'
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Warning icon.png'
},
delete = {
class = 'ombox-delete',
image = 'Warning icon.png'
},
content = {
class = 'ombox-content',
image = 'Ambox important.svg'
},
style = {
class = 'ombox-style',
image = 'DiskCleanup icon.png'
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = 'Information icon.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true,
templatestyles = 'Module:Message box/ombox.css'
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Warning icon.png'
},
delete = {
class = 'tmbox-delete',
image = 'Warning icon.png'
},
content = {
class = 'tmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'tmbox-style',
image = 'DiskCleanup icon.png'
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = 'Information icon.png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}