Template information, documentation, and installation instructions.
Expand the below text for usage and other information.
Template Documentation:
Note: The template above might be broken without the parameters; this is normal.View, edit, or check the history of
this documentation. (
How does this work?)
Editors can experiment with this template's
sandbox and
testcases.
| This template uses Lua:
|
Lua-fejl: callParserFunction: function "#translation" was not found.
| This template is used on many pages.
To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage.
The tested changes can then be added to this page in one single edit.
Please consider discussing any changes on the talk page before implementing them. |
| This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia 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. |
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.
}}
|
| Example message text. |
|
warning
|
{{Fmbox
|type = warning
|text = Example message text.
}}
|
| Example message text. |
|
editnotice
|
{{Fmbox
|type = editnotice
|text = Example message text.
}}
|
| Example message text. |
|
system
|
{{Fmbox
|type = system
|text = Example message text.
}}
|
| Example message text. |
|
TemplateData
[Rediger TemplateData]Skabelonparametre
Denne skabelon foretrækker blok-formatering af parametre (en parameter per linje).
Parameter | Beskrivelse | Type | Status |
---|
Type | type | ingen beskrivelse - Foreslåede værdier
speedy delete content style notice move protection - Standardværdi
- notice
| Streng | foreslået |
---|
Image (left) | image | ingen beskrivelse - Foreslåede værdier
none - Standardværdi
- Depends on the “type” parameter.
| Indhold | foreslået |
---|
Image (right) | imageright | ingen beskrivelse
| Indhold | valgfri |
---|
CSS Style | style | ingen beskrivelse
| Streng | valgfri |
---|
Text CSS Style | textstyle | ingen beskrivelse
| Streng | valgfri |
---|
Text | text | ingen beskrivelse
| Indhold | foreslået |
---|
Small? | small | ingen beskrivelse - Foreslåede værdier
{{{small|}}} left yes 1 - Standardværdi
- 0
| Boolesk | valgfri |
---|
Small Image (left) | smallimage | ingen beskrivelse - Foreslåede værdier
none - Standardværdi
- {{{image}}}
| Indhold | valgfri |
---|
Small Image (right) | smallimageright | ingen beskrivelse - Foreslåede værdier
none - Standardværdi
- {{{imageright}}}
| Indhold | valgfri |
---|
Small Text | smalltext | ingen beskrivelse - Standardværdi
- {{{text}}}
| Indhold | valgfri |
---|
[[Category:Mbox templates{{#translation:}}]]
[[Category:Info templates{{#translation:}}]]
Installation Instructions
- Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Skabelon:Fmbox]]
to properly attribute this template's editors.
- There is no additional installation instructions for this template. If there is any, you may create it at Skabelon:Fmbox/install.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.