Difference between revisions of "Template:Kb/doc"
Jump to navigation
Jump to search
imported>Codename Lisa (TemplateData added) |
imported>Vanisaac m (→Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
| − | Add {{tlp|KB|<isssue number>|title}} where issuenumber is from the <nowiki> | + | Add {{tlp|KB|<isssue number>|title}} where issuenumber is from the <nowiki>https://support.microsoft.com/kb/<isssue number></nowiki>. |
;Example: {{evd|KB|960715|Microsoft Security Advisory: Update Rollup for ActiveX Kill Bits}} | ;Example: {{evd|KB|960715|Microsoft Security Advisory: Update Rollup for ActiveX Kill Bits}} | ||
| Line 11: | Line 11: | ||
"params": { "1": | "params": { "1": | ||
{ "label": "Article ID", | { "label": "Article ID", | ||
| − | "description": "Main element of identifying the article. To find out, bring up the article and look at its address bar. It should have the general form of | + | "description": "Main element of identifying the article. To find out, bring up the article and look at its address bar. It should have the general form of https://support.microsoft.com/kb/xxxxxxx where xxxxxxx is the article ID. For example: In https://support.microsoft.com/kb/2433585, the article ID is 2433585.", |
"type": "number", | "type": "number", | ||
"required": true | "required": true | ||
| Line 34: | Line 34: | ||
} | } | ||
} | } | ||
| − | }</templatedata> | + | }</templatedata><includeonly>{{Sandbox other|| |
| − | |||
| − | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Citation Style 1 specific-source templates]] | [[Category:Citation Style 1 specific-source templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 23:14, 25 April 2020
| 40px | This is a documentation subpage for Template:Kb. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Add {{KB|<isssue number>|title}} where issuenumber is from the https://support.microsoft.com/kb/<isssue number>.
- Example
- Template:Xpd2
Parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Kb
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Article ID | 1 | Main element of identifying the article. To find out, bring up the article and look at its address bar. It should have the general form of https://support.microsoft.com/kb/xxxxxxx where xxxxxxx is the article ID. For example: In https://support.microsoft.com/kb/2433585, the article ID is 2433585. | Number | required |
| Article title | 2 | Article's title plus its revision number in the general form of: title (revision number) | String | required |
| Date | 3 | Date of the revision of the article being quoted | String | optional |
| Access date | 4 | The date at which the article is accessed | String | optional |