Template:Mbox: Difference between revisions
Jump to navigation
Jump to search
KokoroSenshi (talk | contribs) m (Converted to divs instead of a table https://zelda.gamepedia.com/index.php?title=User:KokoroSenshi/Sandbox/Template:Sandbox2&oldid=574107) |
KokoroSenshi (talk | contribs) m (Phasing out table aspects WIP) |
||
Line 1: | Line 1: | ||
<div class="mbox" style=" | <div class="mbox" style="text-align:left; overflow:auto; margin:0 auto 1em; padding:5px 7px; border: 1px solid #{{ZWborder}}; background-color: #{{ZWheader}}; {{#if:{{{maxwidth|}}}|max-width:{{{maxwidth|}}};}}"> | ||
<div style="padding:2px 5px 2px 0.5em; <!--float:left;-->display:table-cell;">{{{image|[[File:Zwlogo2dlarge.png|50px]]}}}</div> | <div style="padding:2px 5px 2px 0.5em; <!--float:left;-->display:table-cell;">{{{image|[[File:Zwlogo2dlarge.png|50px]]}}}</div> | ||
<div style="vertical-align:middle; padding:1px; <!--float:left;-->display:table-cell;"><span style="font-size: 14px; font-weight:bold;">{{{header|Header text}}}</span><br/><p style="font-size: 13px;">{{{info|Explanation}}}</p></div> | <div style="vertical-align:middle; padding:1px; <!--float:left;-->display:table-cell;"><span style="font-size: 14px; font-weight:bold;">{{{header|Header text}}}</span><br/><p style="font-size: 13px;">{{{info|Explanation}}}</p></div> |
Revision as of 13:10, 6 August 2017
This template is used to make message box notices, namely notice templates.
Usage
{{Mbox |maxwidth= |image= |header= |info= }}