7 Days to Die Wiki
Advertisement
Template-info Documentation


Description[]

This template is used to standardize the format of message boxes used by editors and administrators to indicate some action is required.

The template provides for two different formats of message box; a small format and a large format. The large format is the default and is meant to be placed at the top of the page and will automatically size and center itself.

The small format must be declared via a parameter and is meant to be placed at the beginning of a section that needs attention. This permits editors and administrators to mark individual sections rather than the entire page. This may be less intrusive for the reader but more importantly, it provides other editors more information as to exactly what part of a page needs attention.

Two caveats:

  • The small mbox can be colorized. Editors are asked to be subtle with their colorization of mboxes. Given the theme of the wiki, a red message box may be overbearing and distracting to readers.
  • Long messages in either box but especially the large format box can look unwieldy. It is possible to add html code for line breaks
    within the message to improve the appearance and readability of the message box.

Basic Usage[]

Note: If message parameter isn't defined, no mbox will appear.

{{mbox|message=This page requires expansion.}}

This page requires expansion.

{{mbox|small=yes|message=This section requires expansion.}}

    This section requires expansion.

{{mbox|small=yes|date=February 9, 2016|message=This section requires expansion.}}

    This section requires expansion.

Proposed since February 9, 2016.

Colorizing Small Mboxes[]

The small version of the mbox can be colorized using hexadecimal color codes such as #FF0000. If no color is specified, the template defaults to black, as in the examples above. Below is an example of a colorized mbox:

{{mbox|color=#ff6600|small=yes|date=February 9, 2016|message=This section requires expansion.}}

    This section requires expansion.

Proposed since February 9, 2016.

All Parameters[]

Parameter Description Required/Optional
message This is the actual content of the mbox. Should be concise and useful. Required
date Applies the date to the window so editors and admins can see how long the page has been tagged. Optional (but strongly encouraged)
color Applies the specified hexadecimal color to the small mbox. Optional

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

Advertisement