Difference between revisions of "Template:CVE/doc"
Jump to navigation
Jump to search
imported>Matthiaspaul (added example) |
imported>Matthiaspaul (→Parameters: improved documentation) |
||
| Line 6: | Line 6: | ||
==Parameters== | ==Parameters== | ||
| − | *Example 1: | + | * Example 1: |
:<nowiki> | :<nowiki> | ||
| Line 16: | Line 16: | ||
:{{CVE|2017-5754}} | :{{CVE|2017-5754}} | ||
| − | *Example 2: | + | * Example 2: |
| + | :<nowiki> | ||
| + | {{CVE|2017-5753|candidate=yes}} | ||
| + | </nowiki> | ||
| + | |||
| + | :will result in | ||
| + | |||
| + | :{{CVE|2017-5753|candidate=yes}} | ||
| + | |||
| + | * Example 3: | ||
:<nowiki> | :<nowiki> | ||
| Line 26: | Line 35: | ||
:{{CVE|2017-5754|link=no}} | :{{CVE|2017-5754|link=no}} | ||
| − | *Example | + | * Example 4 (up to 9 parameters at the same time): |
:<nowiki> | :<nowiki> | ||
| Line 35: | Line 44: | ||
:{{CVE|2017-5753|2017-5715}} | :{{CVE|2017-5753|2017-5715}} | ||
| + | |||
| + | * Example 5 (up to 9 parameters at the same time): | ||
:<nowiki> | :<nowiki> | ||
| − | {{CVE|2017-5753| | + | {{CVE|2017-5753|2017-5715|leadout=and}} |
</nowiki> | </nowiki> | ||
:will result in | :will result in | ||
| − | :{{CVE|2017-5753| | + | :{{CVE|2017-5753|2017-5715|leadout=and}} |
==See also== | ==See also== | ||
Revision as of 12:55, 20 July 2019
| 40px | This is a documentation subpage for Template:CVE. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template frames links to Common Vulnerabilities and Exposures IDs (CVE-IDs) database entries. Via the |id= parameter it can be used inside of the various {{citation}} and {{cite}} templates as well.
Parameters
- Example 1:
- {{CVE|2017-5754}}
- will result in
- Example 2:
- {{CVE|2017-5753|candidate=yes}}
- will result in
- Example 3:
- {{CVE|2017-5754|link=no}}
- will result in
- CVE-2017-5754
- Example 4 (up to 9 parameters at the same time):
- {{CVE|2017-5753|2017-5715}}
- will result in
- Example 5 (up to 9 parameters at the same time):
- {{CVE|2017-5753|2017-5715|leadout=and}}
- will result in
See also