Module:Message box/doc

This module implements the message box templates mbox, ambox, cmbox, fmbox, imbox, ombox, and tmbox. It uses the same basic code for each of these templates; the differences between each of them are configured using the data at Module:Message box/configuration.

Usage from #invoke
&#123;&#123;#invoke:Message box|box type|parameters&#125;&#125;

There are seven available box types:
 * - for message boxes to be used in multiple namespaces
 * - for article message boxes
 * - for category message boxes
 * - for interface message boxes
 * - for file namespace message boxes
 * - for talk page message boxes
 * - for message boxes in other namespaces

Parameters available to all box types
The type parameter sets a standard box style and a standard image. These styles are based on commonly used message box functions. For example, there is a  type for speedy deletion messages, and an   type for edit notices. Different templates support different types; you can find which templates support which types in the table below.
 * type

Parameters limited to specific box types

 * subst - depends on cfg.substCheck
 * small - depends on cfg.allowSmall
 * plainlinks - depends on cfg.usePlainlinksParam
 * name - depends on cfg.useCollapsibleTextFields
 * sect - depends on cfg.useCollapsibleTextFields
 * issue - depends on cfg.useCollapsibleTextFields
 * talk - depends on cfg.useCollapsibleTextFields
 * fix - depends on cfg.useCollapsibleTextFields
 * date - depends on cfg.useCollapsibleTextFields
 * info - depends on cfg.useCollapsibleTextFields
 * smalltext - depends on cfg.allowSmall
 * below - depends on cfg.below
 * smallimage - depends on cfg.allowSmall
 * smallimageright - depends on cfg.allowSmall
 * cat, cat1, cat2, cat3, ... - depends on cfg.useMainspaceCategories
 * category, category1, category2, category3, ... - depends on cfg.useMainspaceCategories
 * all, all1, all2, all3, ... - depends on cfg.useMainspaceCategories