Template:MessageBox

From Empires Wiki
Revision as of 04:59, 19 December 2023 by Trainzack (talk | contribs) (Improved documentation)
Jump to navigation Jump to search

Format

This template should be used for messageboxes at the top of pages. It has these arguments

{{MessageBox
   | 1 = The html id of the box
   | 2 = The title of the box
   | 3 = The text of the box
   | color = The color of the left side of the box
   | background-color = the color of the box background
   | image = The name of the image to use on the left (should be 40px)
}}

Examples

The style of these example boxes was copied from wikipedia:

{{MessageBox|notice|Notice|This is a notice.}}
Notice
This is a notice.
{{MessageBox|style|Style|This article has style issues.|image=Edit-clear.png|color=#FFCC33}}
Style
This article has style issues.
{{MessageBox|content|Content|This article has content issues.|image=Ambox important.webp|color=#f28500}}
Content
This article has content issues.
{{MessageBox|speedy|Speedy Deletion|This article has been marked for speedy deletion.|image=Ambox warning pn.svg.png|color=#B32424|background-color=#FEE7E6|}}
Speedy Deletion
This article has been marked for speedy deletion.