imported>Oetterer |
|||
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | local ambox = { | + | -------------------------------------------------------------------------------- |
− | + | -- Message box configuration -- | |
− | + | -- -- | |
− | + | -- This module contains configuration data for [[Module:Message box]]. -- | |
− | + | -------------------------------------------------------------------------------- | |
− | + | ||
− | + | local __fileExtension = require( 'Module:Util' ).globalFileExtension() | |
− | + | ||
− | + | return { | |
− | + | ambox = { | |
− | + | types = { | |
− | + | speedy = { | |
− | + | class = 'ambox-speedy', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | class = 'ambox- | + | delete = { |
− | image = ' | + | class = 'ambox-delete', |
+ | image = 'Ambox warning pn' .. __fileExtension | ||
+ | }, | ||
+ | content = { | ||
+ | class = 'ambox-content', | ||
+ | image = 'Ambox important' .. __fileExtension | ||
+ | }, | ||
+ | style = { | ||
+ | class = 'ambox-style', | ||
+ | image = 'Edit-clear' .. __fileExtension | ||
+ | }, | ||
+ | move = { | ||
+ | class = 'ambox-move', | ||
+ | image = 'Merge-split-transwiki default' .. __fileExtension | ||
+ | }, | ||
+ | protection = { | ||
+ | class = 'ambox-protection', | ||
+ | image = 'Padlock-silver-medium' .. __fileExtension | ||
+ | }, | ||
+ | notice = { | ||
+ | class = 'ambox-notice', | ||
+ | image = 'Information icon4' .. __fileExtension | ||
+ | } | ||
}, | }, | ||
− | + | 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 = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | + | delete = { | |
− | + | class = 'cmbox-delete', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | + | content = { | |
− | + | class = 'cmbox-content', | |
− | + | image = 'Ambox important' .. __fileExtension | |
− | + | }, | |
− | + | style = { | |
− | + | class = 'cmbox-style', | |
− | + | image = 'Edit-clear' .. __fileExtension | |
− | + | }, | |
− | + | move = { | |
− | + | class = 'cmbox-move', | |
− | + | image = 'Merge-split-transwiki default' .. __fileExtension | |
− | + | }, | |
− | + | protection = { | |
− | + | class = 'cmbox-protection', | |
− | + | image = 'Padlock-silver-medium' .. __fileExtension | |
− | + | }, | |
− | + | notice = { | |
− | + | class = 'cmbox-notice', | |
− | + | image = 'Information icon4' .. __fileExtension | |
− | + | } | |
− | |||
− | |||
− | |||
}, | }, | ||
− | + | default = 'notice', | |
− | + | showInvalidTypeError = true, | |
− | + | classes = {'cmbox'}, | |
− | + | imageEmptyCell = true, | |
− | + | templatestyles = 'Module:Message box/cmbox.css' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}, | }, | ||
− | + | ||
− | + | fmbox = { | |
− | + | types = { | |
− | + | warning = { | |
− | + | class = 'fmbox-warning', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | + | editnotice = { | |
− | + | class = 'fmbox-editnotice', | |
− | + | image = 'Information icon4' .. __fileExtension | |
− | + | }, | |
− | + | system = { | |
− | + | class = 'fmbox-system', | |
− | + | image = 'Information icon4' .. __fileExtension | |
− | image = ' | + | } |
}, | }, | ||
− | system = | + | default = 'system', |
− | + | showInvalidTypeError = true, | |
− | + | classes = {'fmbox'}, | |
− | + | imageEmptyCell = false, | |
+ | imageRightNone = false, | ||
+ | templatestyles = 'Module:Message box/fmbox.css' | ||
}, | }, | ||
− | + | ||
− | + | imbox = { | |
− | + | types = { | |
− | + | speedy = { | |
− | + | class = 'imbox-speedy', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | } | + | }, |
− | + | delete = { | |
− | + | class = 'imbox-delete', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | class = 'imbox- | + | content = { |
− | + | class = 'imbox-content', | |
+ | image = 'Ambox important' .. __fileExtension | ||
+ | }, | ||
+ | style = { | ||
+ | class = 'imbox-style', | ||
+ | image = 'Edit-clear' .. __fileExtension | ||
+ | }, | ||
+ | move = { | ||
+ | class = 'imbox-move', | ||
+ | image = 'Merge-split-transwiki default' .. __fileExtension | ||
+ | }, | ||
+ | protection = { | ||
+ | class = 'imbox-protection', | ||
+ | image = 'Padlock-silver-medium' .. __fileExtension | ||
+ | }, | ||
+ | license = { | ||
+ | class = 'imbox-license licensetpl', | ||
+ | image = 'PD-icon' .. __fileExtension | ||
+ | }, | ||
+ | featured = { | ||
+ | class = 'imbox-featured', | ||
+ | image = 'Cscr-featured' .. __fileExtension | ||
+ | }, | ||
+ | notice = { | ||
+ | class = 'imbox-notice', | ||
+ | image = 'Information icon4' .. __fileExtension | ||
+ | } | ||
}, | }, | ||
− | + | 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 = 'Ambox warning pn' .. __fileExtension | |
− | - | + | }, |
− | } | + | delete = { |
− | + | class = 'ombox-delete', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | + | content = { | |
− | + | class = 'ombox-content', | |
− | + | image = 'Ambox important' .. __fileExtension | |
− | + | }, | |
− | + | style = { | |
− | + | class = 'ombox-style', | |
− | + | image = 'Edit-clear' .. __fileExtension | |
+ | }, | ||
+ | move = { | ||
+ | class = 'ombox-move', | ||
+ | image = 'Merge-split-transwiki default' .. __fileExtension | ||
+ | }, | ||
+ | protection = { | ||
+ | class = 'ombox-protection', | ||
+ | image = 'Padlock-silver-medium' .. __fileExtension | ||
+ | }, | ||
+ | notice = { | ||
+ | class = 'ombox-notice', | ||
+ | image = 'Information icon4' .. __fileExtension | ||
+ | } | ||
}, | }, | ||
− | + | 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 = 'Ambox warning pn' .. __fileExtension | |
− | } | + | }, |
− | + | delete = { | |
− | + | class = 'tmbox-delete', | |
− | + | image = 'Ambox warning pn' .. __fileExtension | |
− | + | }, | |
− | + | content = { | |
− | + | class = 'tmbox-content', | |
+ | image = 'Ambox important' .. __fileExtension | ||
+ | }, | ||
+ | style = { | ||
+ | class = 'tmbox-style', | ||
+ | image = 'Edit-clear' .. __fileExtension | ||
+ | }, | ||
+ | move = { | ||
+ | class = 'tmbox-move', | ||
+ | image = 'Merge-split-transwiki default' .. __fileExtension | ||
+ | }, | ||
+ | protection = { | ||
+ | class = 'tmbox-protection', | ||
+ | image = 'Padlock-silver-medium' .. __fileExtension | ||
+ | }, | ||
+ | notice = { | ||
+ | class = 'tmbox-notice', | ||
+ | image = 'Information icon4' .. __fileExtension | ||
+ | } | ||
}, | }, | ||
− | + | default = 'notice', | |
− | + | showInvalidTypeError = true, | |
− | + | classes = {'tmbox'}, | |
− | + | allowSmall = true, | |
− | + | imageRightNone = true, | |
− | + | imageEmptyCell = true, | |
− | + | --templateCategory = 'Talk message boxes', | |
− | + | templatestyles = 'Module:Message box/tmbox.css' | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Aktuelle Version vom 22. September 2022, 18:00 Uhr
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
--------------------------------------------------------------------------------
-- Message box configuration --
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
local __fileExtension = require( 'Module:Util' ).globalFileExtension()
return {
ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Ambox warning pn' .. __fileExtension
},
delete = {
class = 'ambox-delete',
image = 'Ambox warning pn' .. __fileExtension
},
content = {
class = 'ambox-content',
image = 'Ambox important' .. __fileExtension
},
style = {
class = 'ambox-style',
image = 'Edit-clear' .. __fileExtension
},
move = {
class = 'ambox-move',
image = 'Merge-split-transwiki default' .. __fileExtension
},
protection = {
class = 'ambox-protection',
image = 'Padlock-silver-medium' .. __fileExtension
},
notice = {
class = 'ambox-notice',
image = 'Information icon4' .. __fileExtension
}
},
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 = 'Ambox warning pn' .. __fileExtension
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn' .. __fileExtension
},
content = {
class = 'cmbox-content',
image = 'Ambox important' .. __fileExtension
},
style = {
class = 'cmbox-style',
image = 'Edit-clear' .. __fileExtension
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default' .. __fileExtension
},
protection = {
class = 'cmbox-protection',
image = 'Padlock-silver-medium' .. __fileExtension
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4' .. __fileExtension
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Module:Message box/cmbox.css'
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Ambox warning pn' .. __fileExtension
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information icon4' .. __fileExtension
},
system = {
class = 'fmbox-system',
image = 'Information icon4' .. __fileExtension
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'fmbox'},
imageEmptyCell = false,
imageRightNone = false,
templatestyles = 'Module:Message box/fmbox.css'
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn' .. __fileExtension
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn' .. __fileExtension
},
content = {
class = 'imbox-content',
image = 'Ambox important' .. __fileExtension
},
style = {
class = 'imbox-style',
image = 'Edit-clear' .. __fileExtension
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default' .. __fileExtension
},
protection = {
class = 'imbox-protection',
image = 'Padlock-silver-medium' .. __fileExtension
},
license = {
class = 'imbox-license licensetpl',
image = 'PD-icon' .. __fileExtension
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured' .. __fileExtension
},
notice = {
class = 'imbox-notice',
image = 'Information icon4' .. __fileExtension
}
},
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 = 'Ambox warning pn' .. __fileExtension
},
delete = {
class = 'ombox-delete',
image = 'Ambox warning pn' .. __fileExtension
},
content = {
class = 'ombox-content',
image = 'Ambox important' .. __fileExtension
},
style = {
class = 'ombox-style',
image = 'Edit-clear' .. __fileExtension
},
move = {
class = 'ombox-move',
image = 'Merge-split-transwiki default' .. __fileExtension
},
protection = {
class = 'ombox-protection',
image = 'Padlock-silver-medium' .. __fileExtension
},
notice = {
class = 'ombox-notice',
image = 'Information icon4' .. __fileExtension
}
},
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 = 'Ambox warning pn' .. __fileExtension
},
delete = {
class = 'tmbox-delete',
image = 'Ambox warning pn' .. __fileExtension
},
content = {
class = 'tmbox-content',
image = 'Ambox important' .. __fileExtension
},
style = {
class = 'tmbox-style',
image = 'Edit-clear' .. __fileExtension
},
move = {
class = 'tmbox-move',
image = 'Merge-split-transwiki default' .. __fileExtension
},
protection = {
class = 'tmbox-protection',
image = 'Padlock-silver-medium' .. __fileExtension
},
notice = {
class = 'tmbox-notice',
image = 'Information icon4' .. __fileExtension
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
--templateCategory = 'Talk message boxes',
templatestyles = 'Module:Message box/tmbox.css'
}
}