Template:Infobox bug/doc: Difference between revisions

Content deleted Content added
Added Infobox for bugs such as Heartbleed and Shellshock (as discussed: https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Computing#Request_an_infobox_for_computer_vulnerabilities_such_as_Heartbleed_and_Shellshock)
 
note Lua modules used, add template categories, misc formatting
Line 1:
{{For2|an infobox for bugs (as in viruses and Bactriabacteria)|[[Template:Virusbox]], [[Template:Taxobox]] and [[Template:Automatic taxobox]]|an infobox for bugs (as in small insects) see |[[Template:Taxobox]] and [[Template:Automatic taxobox]]}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
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 |_template=User:BrandonXLF/C| name | image | image_size | alt | caption | screenshot | screenshot_size | screenshot_alt | screenshot_caption | CVE | discovered | patched | discoverer | affected hardware | affected software | used by | website }}
 
{|
|- style="vertical-align:top;"
| {{Pre2|scroll|2=
<nowiki>{{Template:Infobox bug
| name =
| image =
Line 54 ⟶ 56:
== Example ==
 
{{Infobox bug
{{User:BrandonXLF/C
| name = Heartbleed
| image = [[Image:Heartbleed.svg|180px]]
| 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]
Line 69 ⟶ 72:
|-
|{{Pre2|scroll|2=
<nowiki>{{Template:Infobox bug
| name = Heartbleed
| image = [[Image:Heartbleed.svg|180px]]
| 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]
Line 83 ⟶ 87:
{{clear}}
 
== SeeTracking alsocategory ==
* [[:Category:{{clc|Pages using Template:Infobox bug with unknown parameters]] tracking category for 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)
 
* [[:Category:Pages using Template:Infobox bug with unknown parameters]] tracking category for unknown parameters
<includeonly>{{Sandbox other||
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:Computing infobox templates]]
[[Category:Templates that add a tracking category]]
}}</includeonly>