Template:Messagebox/doc
Appearance
This is a documentation subpage for Template:Messagebox. It contains usage information, categories, and other content that is not part of the original template page. |
- Usage
{{Messagebox|1=text|optional parameters}}
- Parameters
- box-width (optional): default is 100% for the container box.
- extra (optional): extra styles for the container box.
- lang (optional): if set to a valid IETF language code, overrides the default language of the content (useful to allow the web renderer to select the appropriate font and linguistic features).
- dir (optional): if set to
ltr
orrtl
, overrides the default directionality of the content (which side for the icon, start margin and direction for the text). - image (optional): default is
[[Image:Symbol comment vote.svg]]
(with the specified icon width).- icon-size or l-width: default is
50px
for the icon width.
- icon-size or l-width: default is
- text or 1 (mandatory): the text to display.