Template:Infobox/doc: Difference between revisions
m typo |
titlebg |
||
| Line 1: | Line 1: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Meta-template for building specific infobox templates. It should not be used directly on article pages.", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "Title displayed in the infobox header.", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "Filename of an image to display, without the File: prefix.", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "Caption displayed below the image.", | |||
"type": "string" | |||
}, | |||
"label1": { | |||
"label": "Label 1", | |||
"description": "Label for the first data row.", | |||
"type": "string" | |||
}, | |||
"data1": { | |||
"label": "Data 1", | |||
"description": "Content for the first data row. Row is hidden if empty.", | |||
"type": "string" | |||
}, | |||
"titlebg": { | |||
"label": "Title background color", | |||
"default": "var(--vw-accent-subtle)" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"label1", | |||
"data1", | |||
"titlebg" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||