Template:Imbox/doc

From SambaWiki
< Template:Imbox
Revision as of 22:14, 9 October 2016 by Mmuehlfeld (talk | contribs) (Fix wrong type names in examples)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This is the {{Imbox}} ([I]mage [m]essage [box]) metatemplate.

Use it to highlight information.

  • Keep the statements as brief and to the point as possible.
  • Use admonitions sparingly so that they do not lose their effectiveness.



Usage

Example:

{{Imbox
| type = style
| text = The message body text.
}}



Image Message Box Types

The following examples use different type parameters:








Parameters

{{Imbox
| type  = note / important / warning / cleanup / protected
| style = CSS value
| textstyle = CSS value
| text  = The message body text.
}}

type

If no type parameter is given the template defaults to type notice. That means it gets a blue border.

style

An optional cascading style sheets (CSS) value used by the entire message box table. Without quotation marks " ". For example:
style = margin-bottom: 0.5em;

textstyle

An optional CSS value used by the text cell. For example:
textstyle = text-align: center;

text

The message body text.