Difference between revisions of "Template:Infobox bug/sandbox"
Jump to navigation
Jump to search
Template documentation
imported>BrandonXLF (Reverted to revision 884622111 by BrandonXLF (Reverter)) |
imported>BrandonXLF (Moving sandbox documentation into sandbox) |
||
| Line 66: | Line 66: | ||
| label32 = Availability | | label32 = Availability | ||
| data32 = {{{v3_A|}}} | | data32 = {{{v3_A|}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox bug with unknown parameters]]|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}}<noinclude>{{documentation|Template:Infobox bug/ | + | }}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox bug with unknown parameters]]|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}}<!-- |
| + | |||
| + | --><noinclude>{{documentation|content= | ||
| + | {{For2|an infobox for [[viruses]] or [[bacteria]]|[[Template:Virusbox]], [[Template:Taxobox]] and [[Template:Automatic taxobox]]|an infobox for (as in small insects)|[[Template:Taxobox]] and [[Template:Automatic taxobox]]}} | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters|Module:String}} | ||
| + | This infobox is used to add an infobox to article about [[software bug]]s, [[vulnerability (computing)|vulnerabilities]] and [[security bug]]s. | ||
| + | == Parameters == | ||
| + | {{Parameter names example|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}} | ||
| + | {| | ||
| + | |- style="vertical-align:top;" | ||
| + | | {{Pre2|scroll|2= | ||
| + | <nowiki>{{Infobox bug | ||
| + | | name = | ||
| + | | logo = | ||
| + | | logo size = | ||
| + | | logo alt = | ||
| + | | logo caption = | ||
| + | | image = | ||
| + | | image size = | ||
| + | | image alt = | ||
| + | | image caption = | ||
| + | | screenshot = | ||
| + | | screenshot size = | ||
| + | | screenshot alt = | ||
| + | | screenshot caption = | ||
| + | | CVE = | ||
| + | | discovered = | ||
| + | | patched = | ||
| + | | discovered by = | ||
| + | | affected hardware = | ||
| + | | affected software = | ||
| + | | used by = | ||
| + | | website = | ||
| + | }}</nowiki> | ||
| + | }} | ||
| + | | {{Pre2|scroll|2= | ||
| + | | ||
| + | The name of the bug | ||
| + | The logo of the bug | ||
| + | The size of the logo | ||
| + | Alternate text for the logo | ||
| + | Caption for the logo | ||
| + | An image (besides screenshot or logo) | ||
| + | The size of the image | ||
| + | Alternate text for the image | ||
| + | Caption for the image | ||
| + | Screenshot of the bug | ||
| + | The size of the screenshot | ||
| + | Alternate text for the screenshot | ||
| + | Caption for the screenshot | ||
| + | CVE ([[Common Vulnerabilities and Exposures]]) identification(s) (example: CVE-2014-6277) | ||
| + | Date of discovery (use {{tl|Start date and age}}) | ||
| + | Date of patch release (use {{tl|Start date and age}}) | ||
| + | Discoverer of the bug | ||
| + | Hardware affected by the bug | ||
| + | Software affected by the bug | ||
| + | Know groups/people who use(d) the exploit | ||
| + | Website for the bug (use {{tl|URL}}) | ||
| + | | ||
| + | }} | ||
| + | |} | ||
| + | {{clear}} | ||
| + | == Examples == | ||
| + | {{Infobox bug/sandbox | ||
| + | | 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 = CVE-2014-0160 | ||
| + | | discovered = {{Start date and age|2014|4|1}} | ||
| + | | patched = {{Start date and age|2014|4|7}} | ||
| + | | discoverer = Neel Mehta | ||
| + | | affected software = [[OpenSSL]] (1.0.1) | ||
| + | | website = {{URL|heartbleed.com}} | ||
| + | <!-- CVSS v2 --> | ||
| + | |v2_base = 5 | ||
| + | |v2_impact = 2.9 | ||
| + | |v2_exploitability = 10 | ||
| + | |v2_AV = Network | ||
| + | |v2_AC = Low | ||
| + | |v2_AU = None | ||
| + | |v2_C = Partial | ||
| + | |v2_I = None | ||
| + | |v2_A = None | ||
| + | }} | ||
| + | {| | ||
| + | |- | ||
| + | |{{Pre2|scroll|2= | ||
| + | <nowiki>{{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 = CVE-2014-0160 | ||
| + | | discovered = {{Start date and age|2014|4|1}} | ||
| + | | patched = {{Start date and age|2014|4|7}} | ||
| + | | discoverer = Neel Mehta | ||
| + | | affected software = [[OpenSSL]] (1.0.1) | ||
| + | | website = {{URL|heartbleed.com}} | ||
| + | <!-- CVSS v2 --> | ||
| + | |v2_base = 5 | ||
| + | |v2_impact = 2.9 | ||
| + | |v2_exploitability = 10 | ||
| + | |v2_AV = Network | ||
| + | |v2_AC = Low | ||
| + | |v2_AU = None | ||
| + | |v2_C = Partial | ||
| + | |v2_I = None | ||
| + | |v2_A = None | ||
| + | }}</nowiki>}} | ||
| + | |} | ||
| + | {{clear}} | ||
| + | {{Infobox bug/sandbox | ||
| + | | name = Shellshock | ||
| + | | logo = Shellshock-bug.png | ||
| + | | logo size = 180px | ||
| + | | logo caption = A simple Shellshock logo, similar to the [[Heartbleed]] bug logo | ||
| + | | CVE = | ||
| + | CVE-2014-6271 | ||
| + | CVE-2014-6277 | ||
| + | CVE-2014-6278 | ||
| + | CVE-2014-7169 | ||
| + | CVE-2014-7186 | ||
| + | CVE-2014-7187 | ||
| + | | discovered = {{Start date and age|2014|9|12}} | ||
| + | | patched = {{Start date and age|2014|9|24}} | ||
| + | | affected software = [[GNU Bash]] (1.0.3–2.05b) | ||
| + | }} | ||
| + | {| | ||
| + | |- | ||
| + | |{{Pre2|scroll|2= | ||
| + | <nowiki>{{Infobox bug | ||
| + | | name = Shellshock | ||
| + | | logo = Shellshock-bug.png | ||
| + | | logo size = 180px | ||
| + | | logo caption = A simple Shellshock logo, similar to the [[Heartbleed]] bug logo | ||
| + | | CVE = | ||
| + | CVE-2014-6271 | ||
| + | CVE-2014-6277 | ||
| + | CVE-2014-6278 | ||
| + | CVE-2014-7169 | ||
| + | CVE-2014-7186 | ||
| + | CVE-2014-7187 | ||
| + | | discovered = {{Start date and age|2014|9|12}} | ||
| + | | patched = {{Start date and age|2014|9|24}} | ||
| + | | affected software = [[GNU Bash]] (1.0.3–2.05b) | ||
| + | }}</nowiki>}} | ||
| + | |} | ||
| + | {{clear}} | ||
| + | == Template data == | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "Used to add an infobox to article about software bugs, vulnerabilities and security bugs.", | ||
| + | "format": "block", | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "label": "Name", | ||
| + | "description": "The name of the bug", | ||
| + | "example": "Shellshock", | ||
| + | "autovalue": "{{BASEPAGENAME}}", | ||
| + | "type": "wiki-page-name" | ||
| + | }, | ||
| + | "logo": { | ||
| + | "label": "Logo", | ||
| + | "description": "The logo of the bug", | ||
| + | "example": "example.png", | ||
| + | "type": "wiki-file-name", | ||
| + | "autovalue": "", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "logo size": { | ||
| + | "label": "Logo size", | ||
| + | "description": "The size of the logo", | ||
| + | "example": "180px", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "logo alt": { | ||
| + | "label": "Logo alt", | ||
| + | "description": "Alternate text for the logo", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "logo caption": { | ||
| + | "label": "Logo caption", | ||
| + | "description": "Caption for the logo", | ||
| + | "example": "A simple Shellshock logo, similar to the [[Heartbleed]] bug logo", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "image": { | ||
| + | "label": "Image", | ||
| + | "description": "The image of the bug", | ||
| + | "example": "example.png", | ||
| + | "type": "wiki-file-name" | ||
| + | }, | ||
| + | "image size": { | ||
| + | "label": "Image size", | ||
| + | "description": "The size of the image", | ||
| + | "example": "180px", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "image alt": { | ||
| + | "label": "Image alt", | ||
| + | "description": "Alternate text for the image", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "image caption": { | ||
| + | "label": "Image caption", | ||
| + | "description": "Caption for the image", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "screenshot": { | ||
| + | "label": "Screenshot", | ||
| + | "description": "The screenshot of the bug", | ||
| + | "example": "example.png", | ||
| + | "type": "wiki-file-name", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "screenshot size": { | ||
| + | "label": "Screenshot size", | ||
| + | "description": "The size of the screenshot", | ||
| + | "example": "180px", | ||
| + | "type": "number" | ||
| + | }, | ||
| + | "screenshot alt": { | ||
| + | "label": "Screenshot alt", | ||
| + | "description": "Alternate text for the screenshot", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "screenshot caption": { | ||
| + | "label": "Screenshot caption", | ||
| + | "description": "Caption for the screenshot", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "CVE": { | ||
| + | "aliases": [ | ||
| + | "cve" | ||
| + | ], | ||
| + | "label": "CVE identification(s)", | ||
| + | "description": "Common Vulnerabilities and Exposures (CVE) identification(s) for the bug", | ||
| + | "example": "CVE-XXXX-YYYY", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "discovered": { | ||
| + | "label": "Discovery date", | ||
| + | "description": "Year and/or date of discovery", | ||
| + | "example": "{{Start date and age|2019|1|20}}", | ||
| + | "type": "date", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "patched": { | ||
| + | "label": "Patch date", | ||
| + | "description": "Year and/or date of patch release", | ||
| + | "example": "{{Start date and age|2019|1|21}}", | ||
| + | "type": "date", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "discovered by": { | ||
| + | "label": "Discovered by", | ||
| + | "description": "Discoverer of the bug", | ||
| + | "example": "[[John Smith]]", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "affected hardware": { | ||
| + | "label": "Affected hardware", | ||
| + | "description": "Hardware affected by the bug", | ||
| + | "example": "[[Qualcomm Snapdragon]]", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "affected software": { | ||
| + | "label": "Affected software", | ||
| + | "description": "Software affected by the bug", | ||
| + | "example": "[[macOS]]", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "used by": { | ||
| + | "label": "Used by", | ||
| + | "description": "Know groups/people who use(d) the exploit", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "website": { | ||
| + | "label": "Website", | ||
| + | "description": "Website for the bug", | ||
| + | "example": "{{URL|http://heartbleed.com/}}", | ||
| + | "type": "url", | ||
| + | "suggested": true | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | == Tracking category == | ||
| + | * {{Category link with count|Pages using Template:Infobox bug with unknown parameters}} | ||
| + | == 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) | ||
| + | <includeonly>{{Sandbox other|| <!-- Categories below this line and interwikis at Wikidata --> | ||
| + | [[Category:Computing infobox templates]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
| + | }}</includeonly> | ||
| + | }}</noinclude> | ||
Revision as of 03:56, 31 May 2019
| This is the template sandbox page for Template:Infobox bug (diff). |
| 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 {
| The above documentation is transcluded from Template:Infobox bug/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |