模板:CVE
跳转到导航
跳转到搜索
CVE-
File:Test Template Info-Icon - Version (2).svg 模板文档[查看] [编辑] [历史] [清除缓存]
概要[编辑]
本模板显示通用漏洞披露链接
参数及使用方法[编辑]
- {{CVE|CVE编号1|CVE编号2|…|CVE编号n|leadout=符号}}
CVE編號1、CVE編號2、…、CVE編號n为通用漏洞披露的编号,最多9个leadout为分割最后第2个编号与最后1个编号的符号,预设值为,
模板参数[编辑]
<templatedata> {
"params": {
"1": {
"aliases": [
"1"
],
"label": "編號1",
"description": "第1個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"2": {
"aliases": [
"2"
],
"label": "編號2",
"description": "第2個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"3": {
"aliases": [
"3"
],
"label": "編號3",
"description": "第3個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"4": {
"aliases": [
"4"
],
"label": "編號4",
"description": "第4個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"5": {
"aliases": [
"5"
],
"label": "編號5",
"description": "第5個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"6": {
"aliases": [
"6"
],
"label": "編號6",
"description": "第6個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"7": {
"aliases": [
"7"
],
"label": "編號7",
"description": "第7個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"8": {
"aliases": [
"8"
],
"label": "編號8",
"description": "第8個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"9": {
"aliases": [
"9"
],
"label": "編號9",
"description": "第9個通用漏洞披露編號",
"example": "2014-0160",
"type": "string",
"default": "0000-0000"
},
"leadout": {
"aliases": [
"leadout"
],
"label": "分割符號",
"description": "若有2個以上通用漏洞披露編號的話,此參數用來分割最後第2個編號與最後1個編號的符號",
"example": "與",
"type": "string",
"default": ", "
}
},
"description": "本模板用來顯示通用漏洞披露鏈結",
"format": "inline"
} </templatedata>
范例[编辑]
- {{CVE|2014-0160}}产生:CVE-2014-0160
- {{CVE|2016-4994|2016-10147}}产生:CVE-2016-4994, CVE-2016-10147
- {{CVE|2016-4994|2016-10147|leadout=与}}产生:CVE-2016-4994 与 CVE-2016-10147
- {{CVE|2014-0160|2014-0160|2014-0160|2014-0160|2014-0160|2014-0160|2014-0160|2014-0160|2014-0160|leadout=与}}产生:CVE-2014-0160, CVE-2014-0160, CVE-2014-0160, CVE-2014-0160, CVE-2014-0160, CVE-2014-0160, CVE-2014-0160, CVE-2014-0160 与 CVE-2014-0160
重定向[编辑]
没有重定向到Template:CVE
注意事项[编辑]
请确定通用漏洞披露编号是否符合正则表达式\d{4}-\d{4,5},即通用漏洞披露编号格式为:前面4个数字为西元纪年,后4到5个数字为流水编号
模板编辑说明[编辑]
本模板使用{{Catalog lookup link}}制作。