Template:Newbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
{ | { | ||
"params": { | "params": { | ||
"title": { | "title": { | ||
"aliases": [ | "aliases": [ | ||
Line 31: | Line 25: | ||
"autovalue": "", | "autovalue": "", | ||
"required": true | "required": true | ||
}, | |||
"subheader": { | |||
"aliases": [ | |||
"subtitle" | |||
], | |||
"label": "Subheader", | |||
"description": "Displayed as the first element in the box", | |||
"example": "Subheader", | |||
"type": "string", | |||
"default": "Subheader", | |||
"suggested": true | |||
}, | |||
"header": { | |||
"label": "Header", | |||
"description": "Header of the content section", | |||
"example": "Header", | |||
"type": "string", | |||
"default": "Header", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 40: | Line 53: | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | "title", | ||
" | "header", | ||
" | "subheader" | ||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 02:56, 28 March 2022
Test Template to do tests
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title heading | Displayed at the top of your Infobox
| String | required |
Header | header | Header of the content section
| String | suggested |
Subheader | subheader subtitle | Displayed as the first element in the box
| String | suggested |