Module:Message box/configuration:修订间差异

删除的内容 添加的内容
Qiuwen>待春
无编辑摘要
 
CaelLab-import​(留言 | 贡献)
补 cmbox/imbox 两类配置(来自中文维基百科当前版本,修复 Cmbox/Imbox 家族渲染)
 
(未显示3个用户的6个中间版本)
第3行:
speedy = {
class = 'mbox-speedy',
image = 'Cross Mark (Red).svgpng'
},
delete = {
class = 'mbox-delete',
image = 'Alert Mark (Red).svgpng'
},
content = {
class = 'mbox-content',
image = 'Alert Mark (Orange).svgpng'
},
style = {
class = 'mbox-style',
image = 'Edit-clear.svgpng'
},
move = {
class = 'mbox-move',
image = 'Merge-split-transwiki default.svgpng'
},
protection = {
class = 'mbox-protection',
image = 'Semi-protection-shackle-keyhole.svgpng'
},
notice = {
class = 'mbox-notice',
image = 'Information Mark (Blue).svgpng'
},
note = {
class = 'mbox-notice',
image = 'Information Mark (Blue).svgpng'
},
license = {
第39行:
featured = {
class = 'mbox-featured',
image = 'Cscr-featured.svgpng'
},
policy = {
class = 'mbox-policy',
image = 'Policy Mark (Green).svgpng'
},
guideline = {
class = 'mbox-guideline',
image = 'Policy Mark (Blue).svgpng'
},
rule = {
class = 'mbox-rule',
image = 'Policy Mark (Orange).svgpng'
},
draft = {
class = 'mbox-draft',
image = 'Edit Mark (Gray).svgpng'
},
setindex = {
class = 'mbox-setindex',
image = 'List gray.svgpng'
},
disambig = {
class = 'mbox-disambig',
image = 'Disambig gray.svgpng'
}
},
第93行:
warning = {
class = 'fmbox-warning',
image = 'Alert Mark (Red).svgpng'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Information Mark (Blue).svgpng'
},
system = {
class = 'fmbox-system',
image = 'Information Mark (Blue).svgpng'
},
copyright = {
class = 'fmbox-editnotice fmbox-copyright',
image = 'Edit Mark (Blue).svgpng'
}
},
第121行:
speedy = {
class = 'mbox-speedy',
image = 'Cross Mark (Red).svgpng'
},
delete = {
class = 'mbox-delete',
image = 'Alert Mark (Red).svgpng'
},
content = {
class = 'mbox-content',
image = 'Alert Mark (Orange).svgpng'
},
style = {
class = 'mbox-style',
image = 'Edit-clear.svgpng'
},
move = {
class = 'mbox-move',
image = 'Merge-split-transwiki default.svgpng'
},
protection = {
class = 'mbox-protection',
image = 'Semi-protection-shackle-keyhole.svgpng'
},
notice = {
class = 'mbox-notice',
image = 'Information Mark (Blue).svgpng'
},
note = {
class = 'mbox-notice',
image = 'Information Mark (Blue).svgpng'
},
license = {
第157行:
featured = {
class = 'mbox-featured',
image = 'Cscr-featured.svgpng'
},
policy = {
class = 'mbox-policy',
image = 'Policy Mark (Green).svgpng'
},
guideline = {
class = 'mbox-guideline',
image = 'Policy Mark (Blue).svgpng'
},
rule = {
class = 'mbox-rule',
image = 'Policy Mark (Orange).svgpng'
},
draft = {
class = 'mbox-draft',
image = 'Edit Mark (Gray).svgpng'
},
setindex = {
class = 'mbox-setindex',
image = 'List gray.svgpng'
},
disambig = {
class = 'mbox-disambig',
image = 'Disambig gray.svgpng'
}
},
第204行:
speedy = {
class = 'mbox-speedy',
image = 'Cross Mark (Red).svgpng'
},
delete = {
class = 'mbox-delete',
image = 'Alert Mark (Red).svgpng'
},
content = {
class = 'mbox-content',
image = 'Alert Mark (Orange).svgpng'
},
style = {
class = 'mbox-style',
image = 'Edit-clear.svg png'
},
move = {
class = 'mbox-move',
image = 'Merge-split-transwiki default.svgpng'
},
protection = {
class = 'mbox-protection',
image = 'Semi-protection-shackle-keyhole.svgpng'
},
notice = {
class = 'mbox-notice',
image = 'Information Mark (Blue).svgpng'
},
license = {
class = 'mbox-license',
image = 'Imbox license.png'
}
},
第242行 ⟶ 第246行:
templateCategory = '讨论信息模板'
}
 
local cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'cmbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'cmbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'cmbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'cmbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'cmbox-protection',
image = 'Semi-protection-shackle.svg'
},
notice = {
class = 'cmbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
imageEmptyCell = true,
templatestyles = 'Template:Cmbox/style.css'
}
 
local imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Ambox warning pn.svg'
},
delete = {
class = 'imbox-delete',
image = 'Ambox warning pn.svg'
},
content = {
class = 'imbox-content',
image = 'Ambox important.svg'
},
style = {
class = 'imbox-style',
image = 'Edit-clear.svg'
},
move = {
class = 'imbox-move',
image = 'Merge-split-transwiki default.svg'
},
protection = {
class = 'imbox-protection',
image = 'Semi-protection-shackle.svg'
},
license = {
class = 'imbox-license licensetpl',
image = 'Imbox-license.svg'
},
["license-related"] = {
class = 'imbox-license',
image = 'Imbox-license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Cscr-featured.svg',
imageNeedsLink = true
},
notice = {
class = 'imbox-notice',
image = 'Information icon4.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
imageEmptyCell = true,
below = true,
templateCategory = '檔案訊息模板',
templatestyles = 'Template:Imbox/style.css'
}
 
return {
ambox = ambox,
cmbox = cmbox,
imbox = imbox,
fmbox = fmbox,
ombox = ombox,