Template:Fmbox/doc
Appearance
| 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 template is used in system messages. Changes to it can cause immediate changes to the Meta-Wiki user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
| Uses Lua: |
About this template
[edit]This is the fmbox (footer and header message box) meta-template.
Usage
[edit]{{fmbox|text=Text goes here.}}
would produce this:
| Text goes here. |
{{fmbox
| type = warning
| image = [[File:Dialog-warning-custom.svg|40px|link=]]
| style = width: 500px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = Warning message text goes here.}}
yields:
| Warning message text goes here. |
Types
[edit]| type = warning For system warning notices such as MediaWiki:Revision-info and MediaWiki:Protectedpagewarning. |
| type = editnotice Provides a transparent background for editnotices. |
| type = system Default light-grey system-message background. |