Difference between revisions of "Template:Message box"
From MechWarrior: Living Legends Wiki
DragonGod004 (talk | contribs) m (Add how to use info) |
DragonGod004 (talk | contribs) m |
||
(3 intermediate revisions by the same user not shown) | |||
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: 0.5em 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 2% 1em 2%;">{{{message}}}</div> |
|} | |} | ||
</div></center> | </div></center> |
Latest revision as of 20:30, 17 August 2017
Usage
{{Message box | image = (optional) | size = (optional; required if image) | backgroundcolor = | heading = | message = }}