Difference between revisions of "Template:Message box"
From SpiralKnights
m (Switch to #if) |
m (Fix) |
||
Line 1: | Line 1: | ||
{| align=center style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: .2em; margin-bottom: 3px; width: auto;" | {| align=center style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: .2em; margin-bottom: 3px; width: auto;" | ||
|- | |- | ||
− | | rowspan=2 style="padding-right: 4px; padding-left: 4px;" | | + | | rowspan=2 style="padding-right: 4px; padding-left: 4px;" | {{#if: {{{image}}} | [[Image:{{{image}}}|40px]] | }} |
| '''{{{heading}}}''' | | '''{{{heading}}}''' | ||
|- | |- |
Latest revision as of 17:07, 27 April 2011
[[Image:{{{image}}}|40px]] | {{{heading}}} |
{{{message}}} |
Parameters
- image - An icon for the left-hand side of the box. It will be resized to 40 pixels wide.
- heading - The heading of the box will be rendered in bold
- message - The main message, in smaller, normal text.
- backgroundcolor - a CSS-compliant color, either hex (#RRGGBB) or named (antiquewhite)