Template:Mbox talk

From The Vault - Fallout Wiki
Jump to: navigation, search
Template documentation (for the template shown above, sometimes hidden or invisible)

Meta-template for building talk page message boxes.

Based on {{Mbox}}.

Usage

{{Mbox talk
|image    =Mbox_default.png
|header   =Example header
|content  =Example text
|footer   =Example footer
}}

Parameters

RequiredIcon required.png
content

Text content of the box, displayed below header and above footer.

OptionalIcon optional.png
footer

Text in small font to be displayed below content.

OptionalIcon optional.png
header

Main title/"headline" of the message box, displayed above content.

OptionalIcon optional.png
image

File name of an image (without "File:") which should be displayed on the left side of the box.

Style parameters

All style options should be used sparingly as they can lead to visual inconsistencies. Some examples of useful styles:

  • Changing background color: background-color: #123456; (accepts HTML color names or RGB hex triplets)
  • Changing (horizontal) text-alignment: text-align: center; (accepts "center", "justify", "left", "right")
  • Changing vertical text-alignment: vertical-align: middle; (accepts "bottom", "middle", "top")


OptionalIcon optional.png
body style

Specifies CSS styles to apply to the area containing content, header and footer (i.e. everything but image).

OptionalIcon optional.png
content style

Specifies CSS styles to apply to the content area.

OptionalIcon optional.png
footer style

Specifies CSS styles to apply to the footer area.

OptionalIcon optional.png
header style

Specifies CSS styles to apply to the header area.

OptionalIcon optional.png
image style

Specifies CSS styles to apply to the image area.

OptionalIcon optional.png
style

Specifies CSS styles to apply to all areas.

Example

{{Mbox talk
|image    =Mbox_default.png
|header   =Example header
|content  =Example text
|footer   =Example footer
}}

results in:

Mbox default.png
Example header
Example text
Documentation transcluded from Template:Mbox talk/doc.