Difference between revisions of "Template:Mbox"
Jump to navigation
Jump to search
(Message box? maybe?) |
|||
Line 1: | Line 1: | ||
− | <table class="metadata plainlinks mbox" style="border: 1px solid {{{bdcolor2|#525252}}}; border-left: 10px solid {{{bdcolor|#537AA8}}}; margin: {{{margin|0 10%; margin-top: -1px}}}; {{#if: {{{txtcolor|}}} | color: {{{txtcolor|}}} }}"> | + | <table class="metadata plainlinks mbox" style="border: 1px solid {{{bdcolor2|#525252}}}; border-left: 10px solid {{{bdcolor|#537AA8}}}; margin: {{{margin|0 10%; margin-top: -1px}}}; background-color: {{{bgcolor|}}}; {{#if: {{{txtcolor|}}} | color: {{{txtcolor|}}} }}"> |
<tr> | <tr> | ||
<td class="mbox-image"> | <td class="mbox-image"> |
Latest revision as of 23:15, 27 October 2018
{{{text}}} |
How to use:
{{messagebox |text = Text here |small = Small text here |txtcolor = Red |image = [[File:en.png|55px|link=Template:Messagebox]] (Leave blank for Info.png) |bgcolor = yellow |bdcolor = green }}
text = Write your text
small = Write small text
txtcolor = Color of all text
image = link_to_some_resource_or_page_at_this_wiki
- link in format ''http://...'' or just name of page at this wiki (like "Template:Messagebox" without quotes)
bgcolor = color of background
bdcolor = color of border
And that will look like this:
Text here
|
For bgcolor and bdcolor and txtcolor you can use color codes (in format #XXXXXX where "X" is a Hexadecimal)