Difference between revisions of "Template:Fmbox"
Jump to navigation
Jump to search
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 17:36, 29 March 2020
![]() |
{{{text}}} |
![]() | 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. }} |
|