Template:Msgbox: Difference between revisions

55 bytes removed ,  8 August 2023
m
Line break only if title is present
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
m (Line break only if title is present)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="msgbox {{#ifeq: {{{1|}}} | important | important | {{#ifeq: {{{1|}}} | warning | warning | {{#ifeq: {{{1|}}} | info | info | }} }} }}">
<includeonly><div class="msgbox {{#ifeq: {{{1|}}} | important | important | {{#ifeq: {{{1|}}} | warning | warning | {{#ifeq: {{{1|}}} | info | info | }} }} }}">
{{{4|}}}<div style="display:inline-block; padding-left: 10px;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | <br><span>{{{3|}}}</span>}}</div></div><noinclude>{{msgbox|info|This page is a template.|It can be used to use wikitext that would be frequently used throughout the wiki.|{{#invoke:Sprite|get|url=BTA Items.png|sheetsize=512|size=16|pos=108|scale=4|align=middle}}}}</noinclude>
{{#if: {{{4|}}} | <span style="flex: 0 0 auto;">{{{4|}}}</span> | }}<div style="display:inline-block;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | {{#if: {{{2|}}} | <br> | }}<span>{{{3|}}}</span>}}</div></div></includeonly><noinclude>
{{Documentation}}
<!-- Put categories on the documentation page -->
</noinclude>