Difference between revisions of "Template:Infobox bug/sandbox"
Jump to navigation
Jump to search
imported>BrandonXLF |
imported>BrandonXLF (Undid revision 884494211 by BrandonXLF (talk)) |
||
| Line 7: | Line 7: | ||
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot size|}}}|sizedefault=frameless|alt={{{screenshot alt|}}}|suppressplaceholder=yes}} | | image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{screenshot|}}}|size={{{screenshot size|}}}|sizedefault=frameless|alt={{{screenshot alt|}}}|suppressplaceholder=yes}} | ||
| caption3 = {{{screenshot caption|}}} | | caption3 = {{{screenshot caption|}}} | ||
| − | | label1 = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]] | + | | label1 = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]] |
| − | | data1 = {{#if:{{{CVE|}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}} | + | | data1 = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve|}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}} |
| label2 = Date discovered | | label2 = Date discovered | ||
| data2 = {{{discovered|}}} | | data2 = {{{discovered|}}} | ||
Revision as of 00:39, 22 February 2019
| 50px | 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
| Template:Pre2 | Template:Pre2 |
Example
Logo representing Heartbleed. Security company Codenomicon gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue. | |
| CVE identifier(s) | CVE-2014-0160 |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Discoverer | Neel Mehta |
| Affected software | OpenSSL (1.0.1) |
| Website | Template:URL |
| Template:Pre2 |
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)
| 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. Please add categories to the /doc subpage. Subpages of this template. |