Template:Fmbox

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

This is the {{fmbox}} or footer & header message box template.

This template works similarly to {{ambox}} and mostly uses the same parameters. The main differences are that this box is 100% wide and has different color styles.

Parameters[edit source]

  • id: Additional IDs for the message box.
  • type: The type of the message box. Defaults to "system".
  • class: Additional classes for the message box.
  • style: Additional styles for the message box.
  • image: Change the image to be displayed in the message box, input should be a file link. Set to "none" to remove the image.
  • textstyle: Additional styles for the text in the message box.
  • text: The text to be displayed in the message box.
  • imageright: Set to add an image to be displayed on the right, input should be a file link.

Usage[edit source]

Simple usage example:

{{fmbox | text = Some text.}}


Complex example:

{{fmbox
| type      = editnotice
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| style     = border: 1px solid #f4c430;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
}}

Footer and header message box types[edit source]

The following examples use different type parameters but use no image parameters thus they use the default images for each type.

Other images[edit source]

The default images shown above are mostly for testing and demonstration. In most cases it is more appropriate to use a more specific image or no image at all. These examples use the image parameter to specify an image other than the default image.

Special[edit source]

Some other parameter combinations.

See also[edit source]

  • {{fmbox warning ruler}} – A horizontal ruler in the same colour as the red border for the warning type. Used inside some system warning notices.