Template:Mbox: Difference between revisions
Page last edited 2 weeks ago by Xeverything11
Mbox |
m fix |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="mbox" style=" | <templatestyles src="Template:Mbox/styles.css" /> | ||
{{#if:{{{2|}}}|{{{2}}}}} | <div class="mbox" style="{{{style}}}"> | ||
<div | <div class="mbox-image-left">{{#if:{{{2|}}}|{{{2}}}}}</div> | ||
<div class="mbox-body"> | |||
{{{1}}} | {{{1}}} | ||
</div> | </div> | ||
{{#if:{{{3|}}}|{{{3}}}}} | <div class="mbox-image-right">{{#if:{{{3|}}}|{{{3}}}}}</div> | ||
</div><noinclude>{{documentation}}</noinclude> | </div><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:15, 13 April 2025
{{{1}}}
Template documentation
This is the {{mbox}}
template. It is used as the basis for messages.
Usage
Text only
{{mbox|Lorem ipsum dolor sit amet.}}
Lorem ipsum dolor sit amet.
Text with image(s) on left
{{mbox |'''Warning!''' Lorem ipsum dolor sit amet. |[[File:Nuvola apps important.svg|80px]] }}
{{mbox |Information icons in red, orange and yellow colors. |[[File:Information red.svg|64px]][[File:Information orange.svg|64px]][[File:Information yellow.svg|64px]] }}