Template:Mbox
(Redirected from Template:Dmbox)
Jump to navigation
Jump to search
Template documentation[edit source]
Use this meta template to build message box templates such as Template:References or Template:Disambiguation.
Usage
Basic
{{Notice|This text will be visible on mobile and desktop devices alike.}}
Will produce:
Full
{{Mbox/sandbox |id = some-id |type = serious |class = custom-class |border = red |background = #faa |image = Appropedia.png |image-size = 100px |image-link = Welcome to Appropedia |image-alt = Go to Appropedia's main page |head = This text will be visible on mobile and desktop devices alike. |body = This text will be visible on mobile devices only after the user touches the message box. |foot = This text will also be visible on mobile devices only after the user touches the message box. |category = Examples }}
Will produce:
See also
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Id | id | no description | String | optional |
Background | background background-color | no description | String | optional |
Border | border border-color | no description | String | optional |
Style | style | no description | String | optional |
Type | type | no description | String | optional |
Class | class | no description | String | optional |
Image | image | Main image of the notice
| File | optional |
Head | head headline | no description | Unknown | optional |
Body | body text content | no description | String | optional |
Foot | foot | no description | Unknown | optional |
Category | category | no description | String | optional |
Image size | image-size | Size of the image, in pixels
| String | optional |
Image link | image-link | Page to link from the image
| Page | optional |
Image alternative text | image-alt | Alternative text of the image, for screen readers and vision-impaired people
| String | optional |