Template:MessageBox
From Brickipedia, the LEGO Wiki
- This documentation is transcluded from Template:MessageBox/doc. (edit | history)
- This template has a sandbox (edit) for editors to experiment.
This template provides a common design for messageboxes and is should only be used to create messagebox templates. It's not intended to be used in articles directly.
{{MessageBox |Flag color= |Border color= |Background color= |Image= |Message text= }}
Parameters[edit source]
Flag color[edit source]
Defines the color of the wide border on the left and denotes the purpose the message. If this is left blank the color is set to grey (#aaaaaa). Use one of the following colors instead:
- #EE9A00 for templates related to maintenance.
- FireBrick for templates related to deletion.
- #27408B for neutral content related templates.
Border color[edit source]
Is set to grey (#aaaaaa) when left blank.
Background color[edit source]
Is set to WhiteSmoke (#f5f5f5) when left blank.
Image[edit source]
Optional value. The size of the image has to be specified as usual. Normally in the 50px to 90px range.
Text[edit source]
Should contain the message text.
Example[edit source]
{{MessageBox |Flag color=ForestGreen |Border color= |Background color= |Image=[[File:Dialog-information.svg|50px]] |Message text=<span style="line-height:1.3;">'''This messagebox serves no other purpose than to act as an example.'''<br><small>Please don't use it anywhere.</small></span> }}