Difference between revisions of "Template:Message box"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) m |
DragonGod004 (talk | contribs) m (Revert previous) |
||
Line 1: | Line 1: | ||
<center><div style="text-align: center;"> | <center><div style="text-align: center;"> | ||
− | {| class="notice noprint" id="{{{id}}}" style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: 0.1em; margin: auto;" | + | {| class="notice noprint" id="{{{id}}}" style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: 0.1em; margin: 0.5em auto;" |
|- | |- | ||
| valign="middle" style="padding: 0.1em" | {{#if:{{{image|}}} | [[Image:{{{image}}} {{!}} {{{size}}}px]] |}} | | valign="middle" style="padding: 0.1em" | {{#if:{{{image|}}} | [[Image:{{{image}}} {{!}} {{{size}}}px]] |}} | ||
− | | style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%; text-align: center">{{{message}}}</div> | + | | style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%; text-align: center; margin: 0 10% 1em 10%;">{{{message}}}</div> |
|} | |} | ||
</div></center> | </div></center> |
Revision as of 04:37, 15 August 2017
Usage
{{Message box | image = (optional) | size = (optional; required if image) | backgroundcolor = | heading = | message = }}