Difference between revisions of "Template:Infobox bug/sandbox/doc"
imported>BrandonXLF |
imported>BrandonXLF |
||
| Line 132: | Line 132: | ||
|} | |} | ||
{{clear}} | {{clear}} | ||
| + | |||
| + | == Template data == | ||
| + | |||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "Used to add an infobox to article about software bugs, vulnerabilities and security bugs.", | ||
| + | "format": "\n{{_\n|_ = _\n}}\n", | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "label": "Name", | ||
| + | "description": "The name of the bug", | ||
| + | "example": "Shellshock", | ||
| + | "autovalue": "{{BASEPAGENAME}}" | ||
| + | }, | ||
| + | "logo": { | ||
| + | "label": "Logo", | ||
| + | "description": "The logo of the bug", | ||
| + | "example": "example.png" | ||
| + | }, | ||
| + | "logo size": { | ||
| + | "label": "Logo size", | ||
| + | "description": "The size of the logo", | ||
| + | "example": "180px" | ||
| + | }, | ||
| + | "logo alt": { | ||
| + | "label": "Logo alt", | ||
| + | "description": "Alternate text for the logo" | ||
| + | }, | ||
| + | "logo caption": { | ||
| + | "label": "Logo alt", | ||
| + | "description": "Caption for the logo", | ||
| + | "example": "A simple Shellshock logo, similar to the [[Heartbleed]] bug logo" | ||
| + | }, | ||
| + | "image": { | ||
| + | "label": "Image", | ||
| + | "description": "The image of the bug", | ||
| + | "example": "example.png" | ||
| + | }, | ||
| + | "image size": { | ||
| + | "label": "Image size", | ||
| + | "description": "The size of the image", | ||
| + | "example": "180px" | ||
| + | }, | ||
| + | "image alt": { | ||
| + | "label": "Image alt", | ||
| + | "description": "Alternate text for the image" | ||
| + | }, | ||
| + | "image caption": { | ||
| + | "label": "Image alt", | ||
| + | "description": "Caption for the image" | ||
| + | }, | ||
| + | "screenshot": { | ||
| + | "label": "Screenshot", | ||
| + | "description": "The screenshot of the bug", | ||
| + | "example": "example.png" | ||
| + | }, | ||
| + | "screenshot size": { | ||
| + | "label": "Screenshot size", | ||
| + | "description": "The size of the screenshot", | ||
| + | "example": "180px" | ||
| + | }, | ||
| + | "screenshot alt": { | ||
| + | "label": "Screenshot alt", | ||
| + | "description": "Alternate text for the screenshot" | ||
| + | }, | ||
| + | "screenshot caption": { | ||
| + | "label": "Screenshot alt", | ||
| + | "description": "Caption for the screenshot" | ||
| + | }, | ||
| + | "CVE": { | ||
| + | "aliases": ["cve"], | ||
| + | "label": "Common identification(s)", | ||
| + | "description": "Common Vulnerabilities and Exposures (CVE) identification(s) for the bug", | ||
| + | "example": "CVE-XXXX-YYYY" | ||
| + | }, | ||
| + | "discovered": { | ||
| + | "label": "Discovery date", | ||
| + | "description": "Year and/or date of discovery", | ||
| + | "example": "{{Start date and age|2019|1|20}}" | ||
| + | }, | ||
| + | "patched": { | ||
| + | "label": "patch date", | ||
| + | "description": "Year and/or date of patch release", | ||
| + | "example": "{{Start date and age|2019|1|21}}" | ||
| + | }, | ||
| + | "discovered by": { | ||
| + | "label": "Discovered by", | ||
| + | "description": "Discoverer of the bug", | ||
| + | "example": "[[John Smith]]" | ||
| + | }, | ||
| + | "affected hardware": { | ||
| + | "label": "Affected hardware", | ||
| + | "description": "Hardware affected by the bug", | ||
| + | "example": "[[Qualcomm Snapdragon]]" | ||
| + | }, | ||
| + | "affected software": { | ||
| + | "label": "Affected software", | ||
| + | "description": "Software affected by the bug" , | ||
| + | "example": "[[macOS]]" | ||
| + | }, | ||
| + | "used by": { | ||
| + | "label": "Used by", | ||
| + | "description": "Know groups/people who use(d) the exploit" | ||
| + | }, | ||
| + | "website": { | ||
| + | "label": "Website", | ||
| + | "description": "Website for the bug", | ||
| + | "example": "{{URL|http://heartbleed.com/}}" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
== Tracking category == | == Tracking category == | ||
Revision as of 01:02, 22 February 2019
| This template uses Lua: |
This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.
Parameters
Template:Parameter names example
| Template:Pre2 | Template:Pre2 |
Examples
| CVE identifier(s) | CVE-2014-0160 |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Affected software | OpenSSL (1.0.1) |
| Website | Template:URL |
| Template:Pre2 |
| CVE identifier(s) | CVE-2014-6271
CVE-2014-6277 CVE-2014-6278 CVE-2014-7169 CVE-2014-7186 CVE-2014-7187 |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Affected software | GNU Bash (1.0.3–2.05b) |
| Template:Pre2 |
Template data
Used to add an infobox to article about software bugs, vulnerabilities and security bugs.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the bug
| Unknown | optional |
| Logo | logo | The logo of the bug
| Unknown | optional |
| Logo size | logo size | The size of the logo
| Unknown | optional |
| Logo alt | logo alt | Alternate text for the logo | Unknown | optional |
| Logo alt | logo caption | Caption for the logo
| Unknown | optional |
| Image | image | The image of the bug
| Unknown | optional |
| Image size | image size | The size of the image
| Unknown | optional |
| Image alt | image alt | Alternate text for the image | Unknown | optional |
| Image alt | image caption | Caption for the image | Unknown | optional |
| Screenshot | screenshot | The screenshot of the bug
| Unknown | optional |
| Screenshot size | screenshot size | The size of the screenshot
| Unknown | optional |
| Screenshot alt | screenshot alt | Alternate text for the screenshot | Unknown | optional |
| Screenshot alt | screenshot caption | Caption for the screenshot | Unknown | optional |
| Common identification(s) | CVE cve | Common Vulnerabilities and Exposures (CVE) identification(s) for the bug
| Unknown | optional |
| Discovery date | discovered | Year and/or date of discovery
| Unknown | optional |
| patch date | patched | Year and/or date of patch release
| Unknown | optional |
| Discovered by | discovered by | Discoverer of the bug
| Unknown | optional |
| Affected hardware | affected hardware | Hardware affected by the bug
| Unknown | optional |
| Affected software | affected software | Software affected by the bug
| Unknown | optional |
| Used by | used by | Know groups/people who use(d) the exploit | Unknown | optional |
| Website | website | Website for the bug
| Unknown | optional |
Tracking category
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)