Template:Test/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
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

Light bulb.png }}
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.

Template parameters

ParameterDescriptionTypeStatus
Template Namename

The name parameter specifies the name of the template, without the Template namespace prefix.

Stringoptional
substsubst

no description

Unknownoptional
Small Modesmall

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.

Suggested values
no left
Stringoptional
Typetype

The type of box.

Suggested values
speedy delete content style notice move protection
Stringrequired
Imageimage

You can choose a specific image instead of the default.

Example
[[File:Some image.png|40px]]
Stringoptional
Image Rightimageright

An image on the right side of the message box.

Example
[[File:Some image.png|40px]]
Stringoptional
Small Imagesmallimage

Images for the small format box.

Example
[[File:Some image.png|40px]]
Stringoptional
Small Image Rightsmallimageright

Images for the small format box.

Example
[[File:Some image.png|40px]]
Stringoptional
Sectsect

no description

Stringoptional
Issueissue

Used to describe a problem.

Stringsuggested
Fixfix

Used to describe what should be done to improve a page.

Stringsuggested
Talktalk

Link to a talk page.

Stringoptional
Datedate

Displays when a page was tagged by an editor or bot.

Stringoptional