Difference between revisions of "Template:Kb/doc"
Jump to navigation
Jump to search
imported>Codename Lisa ({{subst:#invoke:TemplateDataGenerator|f}}) |
imported>Codename Lisa (TemplateData added) |
||
| Line 7: | Line 7: | ||
;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}} | ||
| − | ==Parameters== | + | ===Parameters=== |
| − | <templatedata> | + | {{TemplateDataHeader}}<templatedata>{ "description": "", |
| − | { "description": "", | ||
"params": { "1": | "params": { "1": | ||
| − | { "label": "", | + | { "label": "Article ID", |
| − | "description": "", | + | "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 http://support.microsoft.com/kb/xxxxxxx where xxxxxxx is the article ID. For example: In http://support.microsoft.com/kb/2433585, the article ID is 2433585.", |
| − | "type": " | + | "type": "number", |
| − | "required": | + | "required": true |
}, | }, | ||
"2": | "2": | ||
| − | { "label": "", | + | { "label": "Article title", |
| − | "description": "", | + | "description": "Article's title plus its revision number in the general form of: title (revision number)", |
"type": "string", | "type": "string", | ||
| − | "required": | + | "required": true |
}, | }, | ||
"3": | "3": | ||
| − | { "label": "", | + | { "label": "Date", |
| − | "description": "", | + | "description": "Date of the revision of the article being quoted", |
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
"4": | "4": | ||
| − | { "label": "", | + | { "label": "Access date", |
| − | "description": "", | + | "description": "The date at which the article is accessed", |
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } | ||
} | } | ||
| − | } | + | }</templatedata> |
| − | </templatedata> | ||
| − | |||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
Revision as of 19:13, 2 December 2013
| 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 http://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 http://support.microsoft.com/kb/xxxxxxx where xxxxxxx is the article ID. For example: In http://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 |