Module:Message box/configuration:修订间差异
删除的内容 添加的内容
清理已不用的 usePlainlinksParam 配置字段 |
替换为 mworg 版 Message box 配置(OOjs UI 图标) |
||
第3行:
-- --
-- This module contains configuration data for [[Module:Message box]]. --
--------------------------------------------------------------------------------
第12行 ⟶ 第10行:
speedy = {
class = 'ambox-speedy',
image = '
},
delete = {
class = 'ambox-delete',
image = '
},
warning = { -- alias for content
class = 'ambox-content',
image = 'OOjs UI icon notice-warning.svg'
},
content = {
class = 'ambox-content',
image = '
},
style = {
第32行 ⟶ 第34行:
protection = {
class = 'ambox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ambox-notice',
image = '
}
},
第45行 ⟶ 第47行:
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'plainlinks', 'ambox'},
imageEmptyCell = true,
imageCheckBlank = true,
第52行 ⟶ 第54行:
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = '
allowMainspaceCategories = true,
templateCategory = '
templateErrorCategory =
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
},
cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = '
},
delete = {
class = 'cmbox-delete',
image = '
},
content = {
class = 'cmbox-content',
image = '
},
style = {
第85行 ⟶ 第86行:
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'cmbox-notice',
image = '
},
caution = {
class = 'cmbox-style',
image = 'Ambox warning yellow.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'cmbox'},
imageEmptyCell = true
},
fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = '
},
editnotice = {
class = 'fmbox-editnotice',
image = '
},
system = {
class = 'fmbox-system',
image = '
}
},
default = 'system',
showInvalidTypeError = true,
classes = {'plainlinks', 'fmbox'},
imageEmptyCell = false,
imageRightNone = false
},
imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = '
},
delete = {
class = 'imbox-delete',
image = '
},
content = {
class = 'imbox-content',
image = '
},
style = {
第145行 ⟶ 第149行:
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
license = {
第153行 ⟶ 第157行:
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg'
},
notice = {
class = 'imbox-notice',
image = '
}
},
第164行 ⟶ 第167行:
showInvalidTypeError = true,
classes = {'imbox'},
usePlainlinksParam = true,
imageEmptyCell = true,
below = true,
templateCategory = '
},
ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = '
},
delete = {
class = 'ombox-delete',
image = '
},
warning = { -- alias for content
class = 'ombox-content',
image = 'OOjs UI icon notice-warning.svg'
},
content = {
class = 'ombox-content',
image = '
},
style = {
第193行 ⟶ 第201行:
protection = {
class = 'ombox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'ombox-notice',
image = '
},
critical = {
class = 'mbox-critical',
image = 'OOjs UI icon clock-destructive.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'ombox'},
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
},
tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = '
},
delete = {
class = 'tmbox-delete',
image = '
},
content = {
class = 'tmbox-content',
image = '
},
style = {
第232行 ⟶ 第244行:
protection = {
class = 'tmbox-protection',
image = 'Semi-protection-shackle-keyhole.svg'
},
notice = {
class = 'tmbox-notice',
image = '
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'plainlinks', 'tmbox'},
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = '
}
}
| |||