更多操作
删除的内容 添加的内容
小 紧急替换为emoji 标签:应急措施 已被回退 |
标签:撤销 |
||
第3行: | 第3行: | ||
speedy = { |
speedy = { |
||
class = 'ambox-speedy', |
class = 'ambox-speedy', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'ambox-red', |
class = 'ambox-red', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'ambox-yellow', |
class = 'ambox-yellow', |
||
image = ' |
image = 'Icon_warning.svg' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'ambox-yellow', |
class = 'ambox-yellow', |
||
image = ' |
image = 'Icon_clear.svg' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'ambox-yellow', |
class = 'ambox-yellow', |
||
image = ' |
image = 'Icon_move.svg' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'ambox-blue', |
class = 'ambox-blue', |
||
image = ' |
image = 'Icon_protect.svg' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'ambox-blue', |
class = 'ambox-blue', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
ok = { |
ok = { |
||
class = 'ambox-green', |
class = 'ambox-green', |
||
image = ' |
image = 'Icon_ok.svg' |
||
}, |
}, |
||
rule = { |
rule = { |
||
class = 'ambox-black', |
class = 'ambox-black', |
||
image = ' |
image = 'Icon_rule.svg' |
||
}, |
}, |
||
featured = { |
featured = { |
||
class = 'ambox-featured', |
class = 'ambox-featured', |
||
image = ' |
image = 'Icon_featured.svg' |
||
} |
} |
||
}, |
}, |
||
第69行: | 第69行: | ||
speedy = { |
speedy = { |
||
class = 'cmbox-speedy', |
class = 'cmbox-speedy', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'cmbox-red', |
class = 'cmbox-red', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'cmbox-yellow', |
class = 'cmbox-yellow', |
||
image = ' |
image = 'Icon_warning.svg' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'cmbox-yellow', |
class = 'cmbox-yellow', |
||
image = ' |
image = 'Icon_clear.svg' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'cmbox-yellow', |
class = 'cmbox-yellow', |
||
image = ' |
image = 'Icon_move.svg' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'cmbox-blue', |
class = 'cmbox-blue', |
||
image = ' |
image = 'Icon_protect.svg' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'cmbox-blue', |
class = 'cmbox-blue', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
ok = { |
ok = { |
||
class = 'cmbox-green', |
class = 'cmbox-green', |
||
image = ' |
image = 'Icon_ok.svg' |
||
} |
} |
||
}, |
}, |
||
第111行: | 第111行: | ||
warning = { |
warning = { |
||
class = 'fmbox-warning', |
class = 'fmbox-warning', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
editnotice = { |
editnotice = { |
||
class = 'fmbox-editnotice', |
class = 'fmbox-editnotice', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
system = { |
system = { |
||
class = 'fmbox-system', |
class = 'fmbox-system', |
||
image = ' |
image = 'Icon_info.svg' |
||
} |
} |
||
}, |
}, |
||
第135行: | 第135行: | ||
speedy = { |
speedy = { |
||
class = 'imbox-speedy', |
class = 'imbox-speedy', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'imbox-red', |
class = 'imbox-red', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'imbox-yellow', |
class = 'imbox-yellow', |
||
image = ' |
image = 'Icon_warning.svg' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'imbox-yellow', |
class = 'imbox-yellow', |
||
image = 'Icon_clear.svg' |
|||
image = '<span style="font-si<span style="font-size: 32px">🧹</span>ze: 32px">⚠️</span>' |
|||
}, |
}, |
||
move = { |
move = { |
||
class = 'imbox-yellow', |
class = 'imbox-yellow', |
||
image = ' |
image = 'Icon_move.svg' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'imbox-blue', |
class = 'imbox-blue', |
||
image = ' |
image = 'Icon_protect.svg' |
||
}, |
}, |
||
license = { |
license = { |
||
第167行: | 第167行: | ||
notice = { |
notice = { |
||
class = 'imbox-blue', |
class = 'imbox-blue', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
ok = { |
ok = { |
||
class = 'imbox-green', |
class = 'imbox-green', |
||
image = ' |
image = 'Icon_ok.svg' |
||
} |
} |
||
}, |
}, |
||
第187行: | 第187行: | ||
speedy = { |
speedy = { |
||
class = 'ombox-speedy', |
class = 'ombox-speedy', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'ombox-red', |
class = 'ombox-red', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'ombox-yellow', |
class = 'ombox-yellow', |
||
image = ' |
image = 'Icon_warning.svg' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'ombox-yellow', |
class = 'ombox-yellow', |
||
image = ' |
image = 'Icon_clear.svg' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'ombox-yellow', |
class = 'ombox-yellow', |
||
image = ' |
image = 'Icon_move.svg' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'ombox-blue', |
class = 'ombox-blue', |
||
image = ' |
image = 'Icon_protect.svg' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'ombox-blue', |
class = 'ombox-blue', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
note = { |
note = { |
||
class = 'ombox-blue', |
class = 'ombox-blue', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
ok = { |
ok = { |
||
class = 'ombox-green', |
class = 'ombox-green', |
||
image = ' |
image = 'Icon_ok.svg' |
||
}, |
}, |
||
rule = { |
rule = { |
||
第239行: | 第239行: | ||
speedy = { |
speedy = { |
||
class = 'tmbox-speedy', |
class = 'tmbox-speedy', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
delete = { |
delete = { |
||
class = 'tmbox-red', |
class = 'tmbox-red', |
||
image = ' |
image = 'Icon_critical.svg' |
||
}, |
}, |
||
content = { |
content = { |
||
class = 'tmbox-yellow', |
class = 'tmbox-yellow', |
||
image = ' |
image = 'Icon_warning.svg' |
||
}, |
}, |
||
style = { |
style = { |
||
class = 'tmbox-yellow', |
class = 'tmbox-yellow', |
||
image = ' |
image = 'Icon_clear.svg ' |
||
}, |
}, |
||
move = { |
move = { |
||
class = 'tmbox-yellow', |
class = 'tmbox-yellow', |
||
image = ' |
image = 'Icon_move.svg' |
||
}, |
}, |
||
protection = { |
protection = { |
||
class = 'tmbox-blue', |
class = 'tmbox-blue', |
||
image = ' |
image = 'Icon_protect.svg' |
||
}, |
}, |
||
notice = { |
notice = { |
||
class = 'tmbox-blue', |
class = 'tmbox-blue', |
||
image = ' |
image = 'Icon_info.svg' |
||
}, |
}, |
||
ok = { |
ok = { |
||
class = 'tmbox-green', |
class = 'tmbox-green', |
||
image = ' |
image = 'Icon_ok.svg' |
||
} |
} |
||
}, |
}, |
2023年11月22日 (三) 14:19的最新版本
此模块的文档可以在Module:Message box/configuration/doc创建
local ambox = {
types = {
speedy = {
class = 'ambox-speedy',
image = 'Icon_critical.svg'
},
delete = {
class = 'ambox-red',
image = 'Icon_critical.svg'
},
content = {
class = 'ambox-yellow',
image = 'Icon_warning.svg'
},
style = {
class = 'ambox-yellow',
image = 'Icon_clear.svg'
},
move = {
class = 'ambox-yellow',
image = 'Icon_move.svg'
},
protection = {
class = 'ambox-blue',
image = 'Icon_protect.svg'
},
notice = {
class = 'ambox-blue',
image = 'Icon_info.svg'
},
ok = {
class = 'ambox-green',
image = 'Icon_ok.svg'
},
rule = {
class = 'ambox-black',
image = 'Icon_rule.svg'
},
featured = {
class = 'ambox-featured',
image = 'Icon_featured.svg'
}
},
default = 'notice',
allowBlankParams = {'talk', 'sect', 'date', 'issue', 'fix', 'subst', 'hidden'},
allowSmall = true,
smallParam = 'left',
smallClass = 'mbox-small-left',
substCheck = true,
classes = {'metadata', 'ambox'},
usePlainlinksParam = true,
allowId = true,
imageEmptyCell = true,
imageCheckBlank = true,
imageSmallSize = '20x20px',
imageCellDiv = true,
useCollapsibleTextFields = true,
imageRightNone = true,
sectionDefault = '条目',
allowMainspaceCategories = true,
templateCategory = '条目讯息模板',
templateCategoryRequireName = true,
templateErrorCategory = '缺少参数的条目讯息模板',
templateErrorParamsToCheck = {'issue', 'fix', 'subst'}
}
local cmbox = {
types = {
speedy = {
class = 'cmbox-speedy',
image = 'Icon_critical.svg'
},
delete = {
class = 'cmbox-red',
image = 'Icon_critical.svg'
},
content = {
class = 'cmbox-yellow',
image = 'Icon_warning.svg'
},
style = {
class = 'cmbox-yellow',
image = 'Icon_clear.svg'
},
move = {
class = 'cmbox-yellow',
image = 'Icon_move.svg'
},
protection = {
class = 'cmbox-blue',
image = 'Icon_protect.svg'
},
notice = {
class = 'cmbox-blue',
image = 'Icon_info.svg'
},
ok = {
class = 'cmbox-green',
image = 'Icon_ok.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'cmbox'},
usePlainlinksParam = true,
imageEmptyCell = true
}
local fmbox = {
types = {
warning = {
class = 'fmbox-warning',
image = 'Icon_critical.svg'
},
editnotice = {
class = 'fmbox-editnotice',
image = 'Icon_info.svg'
},
system = {
class = 'fmbox-system',
image = 'Icon_info.svg'
}
},
default = 'system',
showInvalidTypeError = true,
allowId = true,
classes = {'fmbox'},
usePlainlinksParam = true,
imageEmptyCell = false,
imageRightNone = false
}
local imbox = {
types = {
speedy = {
class = 'imbox-speedy',
image = 'Icon_critical.svg'
},
delete = {
class = 'imbox-red',
image = 'Icon_critical.svg'
},
content = {
class = 'imbox-yellow',
image = 'Icon_warning.svg'
},
style = {
class = 'imbox-yellow',
image = 'Icon_clear.svg'
},
move = {
class = 'imbox-yellow',
image = 'Icon_move.svg'
},
protection = {
class = 'imbox-blue',
image = 'Icon_protect.svg'
},
license = {
class = 'imbox-black',
image = 'Icon_license.svg'
},
featured = {
class = 'imbox-featured',
image = 'Icon_featured.svg'
},
notice = {
class = 'imbox-blue',
image = 'Icon_info.svg'
},
ok = {
class = 'imbox-green',
image = 'Icon_ok.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'imbox'},
usePlainlinksParam = true,
imageEmptyCell = true,
below = true,
templateCategory = '档案信息模板'
}
local ombox = {
types = {
speedy = {
class = 'ombox-speedy',
image = 'Icon_critical.svg'
},
delete = {
class = 'ombox-red',
image = 'Icon_critical.svg'
},
content = {
class = 'ombox-yellow',
image = 'Icon_warning.svg'
},
style = {
class = 'ombox-yellow',
image = 'Icon_clear.svg'
},
move = {
class = 'ombox-yellow',
image = 'Icon_move.svg'
},
protection = {
class = 'ombox-blue',
image = 'Icon_protect.svg'
},
notice = {
class = 'ombox-blue',
image = 'Icon_info.svg'
},
note = {
class = 'ombox-blue',
image = 'Icon_info.svg'
},
ok = {
class = 'ombox-green',
image = 'Icon_ok.svg'
},
rule = {
class = 'ombox-black',
image = 'Icon_rule.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'ombox'},
usePlainlinksParam = true,
allowSmall = true,
imageEmptyCell = true,
imageRightNone = true
}
local tmbox = {
types = {
speedy = {
class = 'tmbox-speedy',
image = 'Icon_critical.svg'
},
delete = {
class = 'tmbox-red',
image = 'Icon_critical.svg'
},
content = {
class = 'tmbox-yellow',
image = 'Icon_warning.svg'
},
style = {
class = 'tmbox-yellow',
image = 'Icon_clear.svg '
},
move = {
class = 'tmbox-yellow',
image = 'Icon_move.svg'
},
protection = {
class = 'tmbox-blue',
image = 'Icon_protect.svg'
},
notice = {
class = 'tmbox-blue',
image = 'Icon_info.svg'
},
ok = {
class = 'tmbox-green',
image = 'Icon_ok.svg'
}
},
default = 'notice',
showInvalidTypeError = true,
classes = {'tmbox'},
usePlainlinksParam = true,
allowId = true,
allowSmall = true,
imageRightNone = true,
imageEmptyCell = true,
imageEmptyCellStyle = true,
templateCategory = '讨论讯息模板'
}
return {
ambox = ambox,
cmbox = cmbox,
fmbox = fmbox,
imbox = imbox,
ombox = ombox,
tmbox = tmbox
}