Template:Mbox/doc: Difference between revisions
From Computing Classics Wiki
Add summary, TemplateData |
m 2 revisions imported: All kinds of templates for CCW to emulate AEW's old hard drive stock |
||
| (One intermediate revision by the same user not shown) | |||
| 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 06:14, 24 September 2024
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 |