Conlang
Advertisement



Examples

{{Mbox2|Some text|type=warning|width=25%}}

Nuvola apps important.svg

Some text



{{Mbox2|border=3px dotted #888888|bgcolor=#DDDDDD|type=notice|text=Some text|heading=Example}}

Warning icon WikiBooks.svg

Example

Some text



{{Mbox2|msg-style="text-align:right; color:#FFFFFF;"|border=1px solid #CCCCCC|bgcolor=#444444|width=50%|text=Some text}}

Warning icon WikiBooks.svg

Some text



Documentation

The parameters for Mbox2 are as follows:

  • {{{1}}}: If it's not a named parameter, it's taken as {{{text}}}
  • align: Left, right, center alignment (default centered)
  • border: A CSS-type border specification, e.g. 1px solid black or none
  • bgcolor: A CSS-type color; e.g. blue or rgb(0,0,255) or #0000FF
  • type: Choose from preset icons:
  • image: Use a custom icon
  • size: Specify the size of the image
  • msg-style: Manually specify a CSS style for the text
  • width: Manually specify the width
  • height: Manually specify the height
  • heading: Always bold
  • text: Message text
  • msg: Same as {{{text}}}