Template:Test/doc: Difference between revisions
mNo edit summary |
mNo edit summary Tag: Reverted |
||
Line 2: | Line 2: | ||
This {{tl|Test}} template is simply to allow for the testing of templates before they are added to the wiki. Do not use this template within any articles. | This {{tl|Test}} template is simply to allow for the testing of templates before they are added to the wiki. Do not use this template within any articles. | ||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"label": "Template Name", | |||
"description": "The name parameter specifies the name of the template, without the Template namespace prefix. ", | |||
"type": "string" | |||
}, | |||
"subst": {}, | |||
"small": { | |||
"label": "Small Mode", | |||
"description": "The small parameter should be passed through the template, as this will allow editors to use the small format by specifying |small=left on an article.", | |||
"type": "string", | |||
"suggestedvalues": [ "no", "left" ] | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "The type of box.", | |||
"type": "string", | |||
"suggestedvalues": [ "speedy", "delete", "content", "style", "notice", "move", "protection" ], | |||
"required": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "You can choose a specific image instead of the default.", | |||
"type": "string", | |||
"example": "[[File:Some image.png|40px]]", | |||
"required": false | |||
}, | |||
"imageright": { | |||
"label": "Image Right", | |||
"description": "An image on the right side of the message box.", | |||
"type": "string", | |||
"example": "[[File:Some image.png|40px]]", | |||
"required": false | |||
}, | |||
"smallimage": { | |||
"label": "Small Image", | |||
"description": "Images for the small format box.", | |||
"type": "string", | |||
"example": "[[File:Some image.png|40px]]", | |||
"required": false | |||
}, | |||
"smallimageright": { | |||
"label": "Small Image Right", | |||
"description": "Images for the small format box.", | |||
"type": "string", | |||
"example": "[[File:Some image.png|40px]]", | |||
"required": false | |||
}, | |||
"sect": { | |||
"label": "Sect", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"issue": { | |||
"label": "Issue", | |||
"description": "Used to describe a problem.", | |||
"type": "string", | |||
"suggested": true, | |||
"required": false | |||
}, | |||
"fix": { | |||
"label": "Fix", | |||
"description": "Used to describe what should be done to improve a page.", | |||
"type": "string", | |||
"suggested": true, | |||
"required": false | |||
}, | |||
"talk": { | |||
"label": "Talk", | |||
"description": "Link to a talk page.", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"date": { | |||
"label": "Date", | |||
"description": "Displays when a page was tagged by an editor or bot.", | |||
"type": "string", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
<includeonly>{{sandbox other||{{testcases other|| | <includeonly>{{sandbox other||{{testcases other|| |
Revision as of 03:54, 18 June 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This {{Test}} template is simply to allow for the testing of templates before they are added to the wiki. Do not use this template within any articles.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Template Name | name | The name parameter specifies the name of the template, without the Template namespace prefix. | String | optional |
subst | subst | no description | Unknown | optional |
Small Mode | small | The small parameter should be passed through the template, as this will allow editors to use the small format by specifying |small=left on an article.
| String | optional |
Type | type | The type of box.
| String | required |
Image | image | You can choose a specific image instead of the default.
| String | optional |
Image Right | imageright | An image on the right side of the message box.
| String | optional |
Small Image | smallimage | Images for the small format box.
| String | optional |
Small Image Right | smallimageright | Images for the small format box.
| String | optional |
Sect | sect | no description | String | optional |
Issue | issue | Used to describe a problem. | String | suggested |
Fix | fix | Used to describe what should be done to improve a page. | String | suggested |
Talk | talk | Link to a talk page. | String | optional |
Date | date | Displays when a page was tagged by an editor or bot. | String | optional |