Template:Mbox/doc: Difference between revisions
From Australian Enthusiasts Wiki
Add summary, TemplateData |
Change TemplateData for icon to File |
||
| Line 23: | Line 23: | ||
"label": "Icon", | "label": "Icon", | ||
"description": "The filename of an icon to use.", | "description": "The filename of an icon to use.", | ||
"example": "File:Nuvola apps important.svg" | "example": "File:Nuvola apps important.svg", | ||
"type": "wiki-file-name" | |||
}, | }, | ||
"width": { | "width": { | ||
Latest revision as of 02:19, 15 April 2022
This template displays a message box.
TemplateData[edit source]
Displays a message box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Message | 1 | The message to be displayed.
| Content | required |
| Colour code | colour | The hex code of the colour to be used on the side bar.
| String | suggested |
| Icon | icon | The filename of an icon to use.
| File | optional |
| Icon width | width | The width of he icon, in pixels (px).
| Number | suggested |
| Alt text | alt | The alt text; a textual description for a visually impaired person to understand; for an icon.
| String | suggested |
| Icon description | icon_desc | A description for the icon. Uses alt text if not provided.
| String | optional |