模板:Infobox bug
This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.
Usage
編輯Template:Parameter names example
{{Infobox bug
| name =
| image =
| image_size =
| alt =
| caption =
| screenshot =
| screenshot_size =
| screenshot_alt =
| screenshot_caption =
| CVE =
| CVSS =
| discovered =
| disclosed =
| patched =
| discoverer =
| affected hardware =
| affected software =
| used by =
| website =
}}
Parameters
編輯| Parameter | Explanation |
|---|---|
| name | The name of the bug |
| image | The logo of the bug or any image |
| image_size | The size of the image |
| alt | Alternate text for the image |
| caption | Caption for the image |
| screenshot | Screenshot of the bug |
| screenshot_size | The size of the screenshot |
| screenshot_alt | Alternate text for the screenshot |
| screenshot_caption | Caption for the screenshot |
| CVE | CVE (Common Vulnerabilities and Exposures) identification (example: CVE-2014-0160) |
| CVSS | CVE (Common Vulnerability Scoring System) (example: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) |
| discovered | Date of discovery (use 模板鏈接:{{Start date and age}}) |
| disclosed | Date of public disclosure (use 模板鏈接:{{Start date and age}}) |
| patched | Date of patch release (use 模板鏈接:{{Start date and age}}) |
| discoverer | Discoverer |
| affected hardware | Affected hardware |
| affected software | Affected software |
| used by | |
| website | Website for the bug (use 模板鏈接:{{URL}}) |
Example
編輯| File:Heartbleed.svg Logo representing Heartbleed. Security company Codenomicon gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue. | |
| [[CVE (identifier)|CVE identifierTemplate:Pluralize from text]] | CVE-2014-0160 |
|---|---|
| CVSS score | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Date discovered | Template:Start date and age |
| Date of public disclosure | Template:Start date and age |
| Date patched | Template:Start date and age |
| Discoverer | Neel Mehta |
| Affected software | OpenSSL (1.0.1) |
| Website | heartbleed |
{{Infobox bug
| name = Heartbleed
| image = Heartbleed.svg
| image_size = 180px
| caption = Logo representing Heartbleed. Security company [[Codenomicon]] gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue.
| CVE = [https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2014-0160 CVE-2014-0160]
| CVSS = CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
| discovered = {{Start date and age|2014|4|3}}
| disclosed = {{Start date and age|2014|4|7}}
| patched = {{Start date and age|2014|4|7}}
| discoverer = Neel Mehta
| affected software = [[OpenSSL]] (1.0.1)
| website = {{URL|heartbleed.com}}
}}
|
Tracking category
編輯TemplateData
編輯This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.
| 參數 | 描述 | 類型 | 狀態 | |
|---|---|---|---|---|
| Name | name | The name of the bug | 字串 | 必填 |
| Image | image | The logo of the bug, or any relevant image. | 檔案 | 建議 |
| Image size | image_size | Size of the image, in pixels.
| 字串 | 建議 |
| Alt text | alt | Alternate text for the image (see [[Wikipedia:Manual of Style/Accessibility/Alternative text for images]]). | 內容 | 非必填 |
| Caption | caption | Caption of the image. | 內容 | 建議 |
| Screenshot | screenshot | A screenshot of the bug. | 檔案 | 非必填 |
| Screenshot size | screenshot_size | The size of the screenshot, in pixels. | 字串 | 非必填 |
| Screenshot alt text | screenshot_alt | Alternate text for the screenshot. | 內容 | 非必填 |
| Screenshot caption | screenshot_caption | Caption for the screenshot. | 內容 | 非必填 |
| CVE | CVE | CVE (Common Vulnerabilities and Exposures) identification.
| 內容 | 建議 |
| Released | released | 沒有描述 | 不明 | 非必填 |
| Date of discovery | discovered | The date when the bug was discovered. Use {{Start date and age}}. | 字串 | 非必填 |
| Date of public disclosure | disclosed | The date when the bug was publicly disclosed. Use {{Start date and age}}. | 字串 | 非必填 |
| Patch release | patched | Date of patch release. Use {{Start date and age}}. | 字串 | 非必填 |
| Discoverer | discoverer | Discoverer of the bug. | 字串 | 非必填 |
| Affected hardware | affected hardware | The hardware that the bug affects. | 內容 | 非必填 |
| Affected software | affected software | The software the bug affects. | 內容 | 非必填 |
| Used by | used by | 沒有描述 | 不明 | 非必填 |
| Website | website | Website for the bug (use {{URL}}) | 字串 | 非必填 |
See also
編輯- Template:Virusbox for viruses (sometimes referred to as bugs)
- Template:Taxobox (Template:Automatic taxobox) for viruses, bacteria and small insects (sometimes referred to as bugs)