Template:CVE/doc
跳转到导航
跳转到搜索
| File:Edit-copy green.svg | 此頁面是Template:CVE的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
概要[编辑]
本模板顯示通用漏洞披露鏈結
參數及使用方法[编辑]
- {{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}}製作。