Template:Msgbox: Difference between revisions

From BTA-Mirror
imported>Ttv pedro270707
(Created page with "{{ #ifeq: {{{1|}}} | important | <div style="background-color: rgba(255, 40, 40, 0.6); width: 80%; padding: 8px; border: 1px solid rgb(255, 0, 0); border-left: 4px solid rgb(255, 0, 0);">{{#if: {{{4|}}} | [[File:{{{4|}}}|64x64px]] }}<div style="display:inline-block; padding-left: 10px;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | <br><span>{{{3|}}}</span>}}</div></div> | {{ #ifeq: {{{1|}}} | warning | <div style="background-color: rgba(255, 255, 80,...")
imported>Ttv pedro270707
m (Updated template to work with classes)
Line 1: Line 1:
{{
<div class="msgbox {{#ifeq: {{{1|}}} | important | important | {{#ifeq: {{{1|}}} | warning | warning | {{#ifeq: {{{1|}}} | info | info | }} }} }}">
#ifeq: {{{1|}}} | important | <div style="background-color: rgba(255, 40, 40, 0.6); width: 80%; padding: 8px; border: 1px solid rgb(255, 0, 0); border-left: 4px solid rgb(255, 0, 0);">{{#if: {{{4|}}} | [[File:{{{4|}}}|64x64px]] }}<div style="display:inline-block; padding-left: 10px;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | <br><span>{{{3|}}}</span>}}</div></div> | {{
{{#if: {{{4|}}} | [[File:{{{4|}}}|64x64px]] }}<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.|Autumn Cherry.png}}</noinclude>
#ifeq: {{{1|}}} | warning | <div style="background-color: rgba(255, 255, 80, 0.6); width: 80%; padding: 5px; border: 1px solid rgb(200, 160, 0); border-left: 4px solid rgb(200, 160, 0);">{{#if: {{{4|}}} | [[File:{{{4|}}}|64x64px]] }}<div style="display:inline-block; padding-left: 10px;"><span style="font-weight: bold;">{{{2|}}}</span>{{#if: {{{3|}}} | <br><span>{{{3|}}}</span>}}</div></div> | {{
#ifeq: {{{1|}}} | info | <div style="background-color: rgba(80, 150, 255, 0.4); width: 80%; padding: 5px; border: 1px solid rgb(100, 100, 160); border-left: 4px solid rgb(100, 100, 160);">{{#if: {{{4|}}} | [[File:{{{4|}}}|64x64px]] }}<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.|Autumn Cherry.png}}</noinclude>

Revision as of 00:11, 5 March 2023

This page is a template.
It can be used to use wikitext that would be frequently used throughout the wiki.