Difference between revisions of "Template:Fmbox/doc"
From Kalypso
(Die Seite wurde neu angelegt: „<noinclude>{{Documentation subpage}}</noinclude> <!-- PUT HERE THE DOCUMENTATION --> == Parameters == {| class="wikitable" |- ! Parameter ! Options ! Notes |- …“) |
Revision as of 10:27, 22 June 2012
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 |
Example messages
| Message type | Code | Example output |
|---|---|---|
| (default) | {{Fmbox
|type =
|text = Example message text.
}}
|
Script error |
| warning |
{{Fmbox
|type = warning
|text = Example message text.
}}
|
Script error |
| editnotice |
{{Fmbox
|type = editnotice
|text = Example message text.
}}
|
Script error |
| system |
{{Fmbox
|type = system
|text = Example message text.
}}
|
Script error |