Template:Fmbox/doc
< Template:Fmbox
Jump to navigation
Jump to search
Revision as of 16:10, 7 May 2019 by Mediawiki>Tomybrz (update)
![]() | This is a documentation subpage for Template:Fmbox. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This is used on [<tvar |
![]() | This template is used in system messages. Changes to it can cause immediate changes to the MediaWiki user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes on the talk page before implementing them. |
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. }} |
|