Template:Mbox: Difference between revisions
Jump to navigation
Jump to search
KokoroSenshi (talk | contribs) m (Temporary category to see when maxwidth isn't used) |
KokoroSenshi (talk | contribs) m (maybe that didn't work... this should?) |
||
Line 1: | Line 1: | ||
<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|}}}; | {{#if:{{{maxwidth|}}}||[[Category:Maxwidth omitted from Mbox]]}}<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:22, 6 August 2017
This template is used to make message box notices, namely notice templates.
Usage
{{Mbox |maxwidth= |image= |header= |info= }}