Template:Message box/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 25: | Line 25: | ||
"type": "string", | "type": "string", | ||
"default": "#e1d2b3", | "default": "#e1d2b3", | ||
"description": "Hex color for the left border." | "description": "Hex color for the left border.", | ||
"suggestedvalues": [ | |||
"none" | |||
] | |||
}, | }, | ||
"image": { | "image": { | ||
| Line 47: | Line 50: | ||
"type": "content", | "type": "content", | ||
"description": "Additional notes." | "description": "Additional notes." | ||
}, | |||
"image-size": { | |||
"type": "string", | |||
"default": "50px", | |||
"description": "Size for the image." | |||
} | } | ||
}, | }, | ||
Latest revision as of 19:29, 11 April 2026
Usage
[edit source]This template is used to create message boxes for articles. It should be used as a meta template to build other message box templates, but it can be used standalone. For a list of related templates, see Category:Message box templates.
Example
[edit source]{{Message box
| image = Bebop MM.png
| notice = Primary notice text.
| notice2 = Secondary notice text.
| notes = Additional notes.
}}
Primary notice text.
Secondary notice text.
Notes: Additional notes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| border | border | Hex color for the left border.
| String | optional |
| image | image | Image to be displayed. | File | optional |
| quote | quote | Character quote. | Content | optional |
| notice | notice | Primary notice text. | Content | required |
| notice2 | notice2 | Secondary notice text. | Content | optional |
| notes | notes | Additional notes. | Content | optional |
| image-size | image-size | Size for the image.
| String | optional |