Template:Fmbox/doc
Template page
More actions
| Message box meta-templates | |
|---|---|
| template | context |
| {{Ambox}} | article |
| {{Cmbox}} | category |
| {{Imbox}} | image |
| {{Tmbox}} | talk |
| {{Fmbox}} | footer / header |
| {{Ombox}} | other pages |
| {{Mbox}} | auto-detect |
| {{Asbox}} | article stub |
| {{Dmbox}} | disambiguation |
| Uses Lua: |
| This template uses TemplateStyles: |
Template:High-risk Template:Used in system
Parameters
| Parameter | Options | Notes |
|---|---|---|
| type | warning / editnotice / system
| |
| class | Additional CSS styling for the message box (pulled from another stylesheet (Mediawiki:Common.css) | |
| style | Additional CSS styling for the message box (manually declared) | |
| image | [[File:example.example|40px]]
|
If bank, Auto detected and chosen by type.
Default images:
|
| textstyle | CSS formatting for the displayed text | |
| text | The message to be displayed | |
| imageright | [[File:example.example|40px]]
|
File to be shown on the right side of the message |
| dir | ltr or rtl
|
Text direction; may be used with {{dir}} and {{uselang}} or {{pagelang}} |
Example messages
| Message type | Code | Example output | ||
|---|---|---|---|---|
| (default) | {{Fmbox
|type =
|text = Example message text.
}}
|
| ||
| warning |
{{Fmbox
|type = warning
|text = Example message text.
}}
|
| ||
| editnotice |
{{Fmbox
|type = editnotice
|text = Example message text.
}}
|
| ||
| system |
{{Fmbox
|type = system
|text = Example message text.
}}
|
|
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Fmbox in articles based on its TemplateData.
TemplateData for Fmbox
This is the specialized version of the {{mbox}} or “multi namespace message box” meta-template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Type | type | no description
| String | suggested |
| Image (left) | image | no description
| Content | suggested |
| Image (right) | imageright | no description | Content | optional |
| CSS Style | style | no description | String | optional |
| Text CSS Style | textstyle | no description | String | optional |
| Text | text | no description | Content | suggested |
| Small? | small | no description
| Boolean | optional |
| Small Image (left) | smallimage | no description
| Content | optional |
| Small Image (right) | smallimageright | no description
| Content | optional |
| Small Text | smalltext | no description
| Content | optional |