Template:Mbox: Difference between revisions
Page last edited 2 weeks ago by Xeverything11
Mbox |
mNo edit summary |
||
Line 1: | Line 1: | ||
<div class="mbox" style="margin: 0.5rem 0 | <div class="mbox" style="margin: 0.5rem 0; padding: 0 1rem; border: 1px solid var(--color-primary1); border-radius: 4px; display: flex; align-items: center;"> | ||
{{#if:{{{2|}}}|{{{2}}}}} | {{#if:{{{2|}}}|{{{2}}}}} | ||
<div style="flex: 1; margin: 0 1rem;"> | <div style="flex: 1; margin: 0 1rem;"> |
Revision as of 14:46, 11 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]] }}