Template:Messagebox
Jump to navigation
Jump to search
Top text
Bottom text
|
Documentation
This is the base template of any and all "message boxes" that appear in articles. It supports a colored gradient bit in the left side, and two images.
Usage
This template has several parameters:
bordercolor
- It's the box's border color. Hex format. No need of #s.
topcolor
- It's the gradient's top color. Hex format. No need of #s.
bottomcolor
- It's the gradient's bottom color. Hex format. No need of #s.
bgcolor
- It's the background color of the box. Hex format. No need of #s.
iconone
- The icon on the left. This one is obligatory, or it will show the placeholder icon.
toptext
- The bolded text at the top.
btmtext
- The italicized text at the bottom.
icontwo (optional)
- The second icon. It's located at the right.
This should be used only for predefined messages.
An example of an error message using a placeholder icon:
{{Messagebox| bordercolor=400| topcolor=300| bottomcolor=640| bgcolor=FFD| iconone=warning_icon.png| toptext=You're in danger.| btmtext=Proceed with caution to avoid uhhhh spikes.|}}
Shows as output:
You're in danger.
Proceed with caution to avoid uhhhh spikes.
|