Module:Message box/configuration:修订间差异
外观
删除的内容 添加的内容
IdleTap-bot(留言 | 贡献) 配置对齐求闻版:统一 mbox-* 类,替换不配套的 Wikimedia 标准版 |
IdleTap-bot(留言 | 贡献) 图片引用改为 .png(130.wiki 不支持 SVG 上传) |
||
| 第3行: | 第3行: | ||
speedy = { |
speedy = { |
||
class = 'mbox-speedy', |
class = 'mbox-speedy', |
||
image = 'Cross Mark (Red). |
image = 'Cross Mark (Red).png' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'mbox-delete', |
class = 'mbox-delete', |
||
image = 'Alert Mark (Red). |
image = 'Alert Mark (Red).png' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'mbox-content', |
class = 'mbox-content', |
||
image = 'Alert Mark (Orange). |
image = 'Alert Mark (Orange).png' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'mbox-style', |
class = 'mbox-style', |
||
image = 'Edit-clear. |
image = 'Edit-clear.png' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'mbox-move', |
class = 'mbox-move', |
||
image = 'Merge-split-transwiki default. |
image = 'Merge-split-transwiki default.png' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'mbox-protection', |
class = 'mbox-protection', |
||
image = 'Semi-protection-shackle-keyhole. |
image = 'Semi-protection-shackle-keyhole.png' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'mbox-notice', |
class = 'mbox-notice', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
}, |
}, |
||
note = { |
note = { |
||
class = 'mbox-notice', |
class = 'mbox-notice', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
}, |
}, |
||
license = { |
license = { |
||
| 第39行: | 第39行: | ||
featured = { |
featured = { |
||
class = 'mbox-featured', |
class = 'mbox-featured', |
||
image = 'Cscr-featured. |
image = 'Cscr-featured.png' |
||
}, |
}, |
||
policy = { |
policy = { |
||
class = 'mbox-policy', |
class = 'mbox-policy', |
||
image = 'Policy Mark (Green). |
image = 'Policy Mark (Green).png' |
||
}, |
}, |
||
guideline = { |
guideline = { |
||
class = 'mbox-guideline', |
class = 'mbox-guideline', |
||
image = 'Policy Mark (Blue). |
image = 'Policy Mark (Blue).png' |
||
}, |
}, |
||
rule = { |
rule = { |
||
class = 'mbox-rule', |
class = 'mbox-rule', |
||
image = 'Policy Mark (Orange). |
image = 'Policy Mark (Orange).png' |
||
}, |
}, |
||
draft = { |
draft = { |
||
class = 'mbox-draft', |
class = 'mbox-draft', |
||
image = 'Edit Mark (Gray). |
image = 'Edit Mark (Gray).png' |
||
}, |
}, |
||
setindex = { |
setindex = { |
||
class = 'mbox-setindex', |
class = 'mbox-setindex', |
||
image = 'List gray. |
image = 'List gray.png' |
||
}, |
}, |
||
disambig = { |
disambig = { |
||
class = 'mbox-disambig', |
class = 'mbox-disambig', |
||
image = 'Disambig gray. |
image = 'Disambig gray.png' |
||
} |
} |
||
}, |
}, |
||
| 第93行: | 第93行: | ||
warning = { |
warning = { |
||
class = 'fmbox-warning', |
class = 'fmbox-warning', |
||
image = 'Alert Mark (Red). |
image = 'Alert Mark (Red).png' |
||
}, |
}, |
||
editnotice = { |
editnotice = { |
||
class = 'fmbox-editnotice', |
class = 'fmbox-editnotice', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
}, |
}, |
||
system = { |
system = { |
||
class = 'fmbox-system', |
class = 'fmbox-system', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
}, |
}, |
||
copyright = { |
copyright = { |
||
class = 'fmbox-editnotice fmbox-copyright', |
class = 'fmbox-editnotice fmbox-copyright', |
||
image = 'Edit Mark (Blue). |
image = 'Edit Mark (Blue).png' |
||
} |
} |
||
}, |
}, |
||
| 第121行: | 第121行: | ||
speedy = { |
speedy = { |
||
class = 'mbox-speedy', |
class = 'mbox-speedy', |
||
image = 'Cross Mark (Red). |
image = 'Cross Mark (Red).png' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'mbox-delete', |
class = 'mbox-delete', |
||
image = 'Alert Mark (Red). |
image = 'Alert Mark (Red).png' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'mbox-content', |
class = 'mbox-content', |
||
image = 'Alert Mark (Orange). |
image = 'Alert Mark (Orange).png' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'mbox-style', |
class = 'mbox-style', |
||
image = 'Edit-clear. |
image = 'Edit-clear.png' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'mbox-move', |
class = 'mbox-move', |
||
image = 'Merge-split-transwiki default. |
image = 'Merge-split-transwiki default.png' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'mbox-protection', |
class = 'mbox-protection', |
||
image = 'Semi-protection-shackle-keyhole. |
image = 'Semi-protection-shackle-keyhole.png' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'mbox-notice', |
class = 'mbox-notice', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
}, |
}, |
||
note = { |
note = { |
||
class = 'mbox-notice', |
class = 'mbox-notice', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
}, |
}, |
||
license = { |
license = { |
||
| 第157行: | 第157行: | ||
featured = { |
featured = { |
||
class = 'mbox-featured', |
class = 'mbox-featured', |
||
image = 'Cscr-featured. |
image = 'Cscr-featured.png' |
||
}, |
}, |
||
policy = { |
policy = { |
||
class = 'mbox-policy', |
class = 'mbox-policy', |
||
image = 'Policy Mark (Green). |
image = 'Policy Mark (Green).png' |
||
}, |
}, |
||
guideline = { |
guideline = { |
||
class = 'mbox-guideline', |
class = 'mbox-guideline', |
||
image = 'Policy Mark (Blue). |
image = 'Policy Mark (Blue).png' |
||
}, |
}, |
||
rule = { |
rule = { |
||
class = 'mbox-rule', |
class = 'mbox-rule', |
||
image = 'Policy Mark (Orange). |
image = 'Policy Mark (Orange).png' |
||
}, |
}, |
||
draft = { |
draft = { |
||
class = 'mbox-draft', |
class = 'mbox-draft', |
||
image = 'Edit Mark (Gray). |
image = 'Edit Mark (Gray).png' |
||
}, |
}, |
||
setindex = { |
setindex = { |
||
class = 'mbox-setindex', |
class = 'mbox-setindex', |
||
image = 'List gray. |
image = 'List gray.png' |
||
}, |
}, |
||
disambig = { |
disambig = { |
||
class = 'mbox-disambig', |
class = 'mbox-disambig', |
||
image = 'Disambig gray. |
image = 'Disambig gray.png' |
||
} |
} |
||
}, |
}, |
||
| 第204行: | 第204行: | ||
speedy = { |
speedy = { |
||
class = 'mbox-speedy', |
class = 'mbox-speedy', |
||
image = 'Cross Mark (Red). |
image = 'Cross Mark (Red).png' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'mbox-delete', |
class = 'mbox-delete', |
||
image = 'Alert Mark (Red). |
image = 'Alert Mark (Red).png' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'mbox-content', |
class = 'mbox-content', |
||
image = 'Alert Mark (Orange). |
image = 'Alert Mark (Orange).png' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'mbox-style', |
class = 'mbox-style', |
||
image = 'Edit-clear. |
image = 'Edit-clear.png' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'mbox-move', |
class = 'mbox-move', |
||
image = 'Merge-split-transwiki default. |
image = 'Merge-split-transwiki default.png' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'mbox-protection', |
class = 'mbox-protection', |
||
image = 'Semi-protection-shackle-keyhole. |
image = 'Semi-protection-shackle-keyhole.png' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'mbox-notice', |
class = 'mbox-notice', |
||
image = 'Information Mark (Blue). |
image = 'Information Mark (Blue).png' |
||
} |
} |
||
}, |
}, |
||
2026年8月3日 (一) 09:08的版本
此模块的文档可以在Module:Message box/configuration/doc创建
local ambox = {
types = {
speedy = {
class = 'mbox-speedy',
image = 'Cross Mark (Red).png'
},
delete = {
class = 'mbox-delete',
image = 'Alert Mark (Red).png'
},
content = {
class = 'mbox-content',
image = 'Alert Mark (Orange).png'
},
style = {
class = 'mbox-style',
image = 'Edit-clear.png'
},
move = {
class = 'mbox-move',
image = 'Merge-split-transwiki default.png'
},
protection = {
class = 'mbox-protection',
image = 'Semi-protection-shackle-keyhole.png'
},
notice = {
class = 'mbox-notice',
image = 'Information Mark (Blue).png'
},
note = {
class = 'mbox-notice',
image = 'Information Mark (Blue).png'
},
license = {
class = 'mbox-license',
image = 'Imbox license.png'
},
featured = {
class = 'mbox-featured',
image = 'Cscr-featured.png'
},
policy = {
class = 'mbox-policy',
image = 'Policy Mark (Green).png'
},
guideline = {
class = 'mbox-guideline',
image = 'Policy Mark (Blue).png'
},
rule = {
class = 'mbox-rule',
image = 'Policy Mark (Orange).png'
},
draft = {
class = 'mbox-draft',
image = 'Edit Mark (Gray).png'
},
setindex = {
class = 'mbox-setindex',
image = 'List gray.png'
},
disambig = {
class = 'mbox-disambig',
image = 'Disambig gray.png'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'mbox', 'ambox', 'metadata', 'plainlinks'},
allowId = true,
below = 'below',
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = '条目',
allowMainspaceCategories = true,
templateCategory = '条目信息模板',
templateCategoryRequireName = true,
templateErrorCategory = '缺少参数的条目信息模板',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
}
local fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Alert Mark (Red).png'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information Mark (Blue).png'
},
system = {
class = 'fmbox-system',
image = 'Information Mark (Blue).png'
},
copyright = {
class = 'fmbox-editnotice fmbox-copyright',
image = 'Edit Mark (Blue).png'
}
},
default = 'system',
showInvalidTypeError = true,
allowId = true,
below = 'below',
classes = {'fmbox', 'plainlinks'},
imageEmptyCell = false,
imageRightNone = false
}
local ombox = { -- all styles migrated to mbox
types = {
speedy = {
class = 'mbox-speedy',
image = 'Cross Mark (Red).png'
},
delete = {
class = 'mbox-delete',
image = 'Alert Mark (Red).png'
},
content = {
class = 'mbox-content',
image = 'Alert Mark (Orange).png'
},
style = {
class = 'mbox-style',
image = 'Edit-clear.png'
},
move = {
class = 'mbox-move',
image = 'Merge-split-transwiki default.png'
},
protection = {
class = 'mbox-protection',
image = 'Semi-protection-shackle-keyhole.png'
},
notice = {
class = 'mbox-notice',
image = 'Information Mark (Blue).png'
},
note = {
class = 'mbox-notice',
image = 'Information Mark (Blue).png'
},
license = {
class = 'mbox-license',
image = 'Imbox license.png'
},
featured = {
class = 'mbox-featured',
image = 'Cscr-featured.png'
},
policy = {
class = 'mbox-policy',
image = 'Policy Mark (Green).png'
},
guideline = {
class = 'mbox-guideline',
image = 'Policy Mark (Blue).png'
},
rule = {
class = 'mbox-rule',
image = 'Policy Mark (Orange).png'
},
draft = {
class = 'mbox-draft',
image = 'Edit Mark (Gray).png'
},
setindex = {
class = 'mbox-setindex',
image = 'List gray.png'
},
disambig = {
class = 'mbox-disambig',
image = 'Disambig gray.png'
}
},
default = 'notice',
showInvalidTypeError = true,
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
substCheck = true,
classes = {'mbox', 'ombox'},
allowId = true,
below = 'below',
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
}
local tmbox = {
types = {
speedy = {
class = 'mbox-speedy',
image = 'Cross Mark (Red).png'
},
delete = {
class = 'mbox-delete',
image = 'Alert Mark (Red).png'
},
content = {
class = 'mbox-content',
image = 'Alert Mark (Orange).png'
},
style = {
class = 'mbox-style',
image = 'Edit-clear.png'
},
move = {
class = 'mbox-move',
image = 'Merge-split-transwiki default.png'
},
protection = {
class = 'mbox-protection',
image = 'Semi-protection-shackle-keyhole.png'
},
notice = {
class = 'mbox-notice',
image = 'Information Mark (Blue).png'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'mbox', 'tmbox'},
allowId = true,
allowSmall = true,
below = 'below',
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = '讨论信息模板'
}
return {
ambox = ambox,
fmbox = fmbox,
ombox = ombox,
tmbox = tmbox
}