Template:Notice
(Redirected from Template:Mbox)
Template documentationedit documentation
Use this meta template to build standardized and mobile-friendly notices.
Usage
Basic
The following wikitext:
{{Notice
| title = Title of the notice.
| text = Text of the notice.
}}
will produce:
Full
The following wikitext:
{{Notice
| class = my-custom-notice
| image = Closed Book Icon.svg
| image-size = 80px
| image-link = Appropedia:Books
| image-alt = Appropedia book
| title = Title of the notice.
| text = Text of the notice. The text will be visible by default in desktop devices, but in mobile devices, the user needs to tap the notice to read the text.
}}
will produce:
See also
Template data
Use this meta template to build notices.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Title of the notice.
| String | suggested |
| Text | text | Text of the notice
| Content | suggested |
| Image | image | Main image of the notice
| File | optional |
| Image size | image-size | Size of the image
| String | optional |
| Image link | image-link | Page to link from the image
| Page name | optional |
| Image alternative text | image-alt | Alternative text of the image, for screen readers and vision-impaired people
| String | optional |
| Class | class | Extra CSS class of the notice
| String | optional |