Changes

Add TemplateData
Line 2: Line 2:  
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 +
<templatedata>
 +
{
 +
"params": {
 +
"name": {
 +
"label": "Template name",
 +
"description": "Specifies the name of the template",
 +
"autovalue": "",
 +
"suggested": true
 +
},
 +
"subst": {
 +
"description": "Allows the meta-template to detect whether the template has been incorrectly substituted, and give an appropriate warning.",
 +
"example": "<includeonly>{{subst:substcheck}}</includeonly>"
 +
},
 +
"small": {
 +
"label": "Small? (no/left/right)",
 +
"description": "Specifies whether to use the small format or not",
 +
"default": "no",
 +
"autovalue": "",
 +
"suggested": true
 +
},
 +
"type": {
 +
"label": "Type of issue",
 +
"description": "Specifies the default color and icon of this message box. Possible values are \"speedy\", \"delete\", \"content\", \"style\", \"notice\", \"move\", and \"protection\".",
 +
"type": "unknown",
 +
"default": "notice",
 +
"autovalue": "",
 +
"suggested": true
 +
},
 +
"image": {
 +
"label": "Image",
 +
"description": "Specifies an image to use instead of the default",
 +
"type": "unknown"
 +
},
 +
"sect": {
 +
"label": "\"This section...\""
 +
},
 +
"issue": {
 +
"label": "Issue",
 +
"description": "This parameter is used to describe the issue with the article."
 +
},
 +
"talk": {
 +
"label": "Talk page link"
 +
},
 +
"fix": {
 +
"label": "Fix",
 +
"description": "Specifies some text which describes what should be done to improve the article."
 +
},
 +
"cat": {
 +
"label": "Monthly cleanup category 1",
 +
"description": "Defines a monthly cleanup category."
 +
},
 +
"all": {
 +
"label": "Category for All 1",
 +
"description": "Defines a category into which all articles should be placed."
 +
},
 +
"removalnotice": {
 +
"label": "Removal notice? (yes/no)",
 +
"description": "If \"yes\", a notice will be displayed after the date and the info text",
 +
"type": "unknown"
 +
},
 +
"date": {
 +
"label": "Date"
 +
},
 +
"info": {
 +
"label": "Misc. Info"
 +
},
 +
"imageright": {
 +
"label": "Image (right)"
 +
},
 +
"smallimage": {
 +
"label": "Image (small)",
 +
"description": "Use this when the \"Small?\" parameter is \"left\""
 +
},
 +
"smallimageright": {
 +
"label": "Image (small + right)"
 +
},
 +
"class": {
 +
"label": "Custom CSS classes"
 +
},
 +
"style": {
 +
"label": "CSS custom style"
 +
},
 +
"textstyle": {
 +
"label": "CSS custom text style"
 +
},
 +
"text": {
 +
"label": "Text",
 +
"description": "Specifies custom text to use instead of the \"Issue\" and \"Fix\" parameters.",
 +
"type": "unknown",
 +
"suggested": true
 +
},
 +
"smalltext": {
 +
"label": "Text (small)"
 +
},
 +
"cat2": {
 +
"label": "Monthly cleanup category 2"
 +
},
 +
"cat3": {
 +
"label": "Monthly cleanup category 3"
 +
},
 +
"all2": {
 +
"label": "Category for All 2"
 +
},
 +
"all3": {
 +
"label": "Category for All 3"
 +
},
 +
"plainlinks": {
 +
"label": "Plain links? (yes/no)",
 +
"description": "By default, in message boxes, external links have their arrow icon disabled by default. If this is set to \"no\", arrows will appear next to external links."
 +
}
 +
},
 +
"description": "A message box meant for article pages.",
 +
"paramOrder": [
 +
"name",
 +
"small",
 +
"type",
 +
"image",
 +
"smallimage",
 +
"imageright",
 +
"smallimageright",
 +
"text",
 +
"smalltext",
 +
"class",
 +
"style",
 +
"textstyle",
 +
"plainlinks",
 +
"sect",
 +
"issue",
 +
"fix",
 +
"talk",
 +
"date",
 +
"info",
 +
"removalnotice",
 +
"cat",
 +
"cat2",
 +
"cat3",
 +
"all",
 +
"all2",
 +
"all3",
 +
"subst"
 +
]
 +
}
 +
</templatedata>
 
</noinclude>
 
</noinclude>