Template:Note: Difference between revisions

Add colors back (removed from MW)
imported>FrozenPlum
m (strange, was the moz-available causing the class in moz)
imported>FrozenPlum
(Add colors back (removed from MW))
 
(One intermediate revision by the same user not shown)
Line 1:
<onlyinclude><includeonly>{{#if:{{{1|{{{text|}}}}}}|
{{{!}} class="{{#switch: {{{2|{{{type|info}}}}}}|info=messagebox|reminder|warn=warningbox|error=errorbox|}}" style="{{#if:{{{inline|}}}|| widthdisplay: -webkit-fill-availableblock; /* Mozilla-based browsers will ignore */ width: fill-availableauto;}} padding:5px 25px 5px 5px; margin:0.5em 0; overflow:hidden; {{#switch:{{{2|{{{type|info}}}}}}|info=background-color: #f6f6f6; border: 1px solid #ccc; |reminder|warn=border: 1px solid #fde29b; background-color: #fdf1d1;|error=border:1px solid #fac5c5; background-color:#fae3e3;|}}">
{{!}}-
{{!}}style="width:25px;"{{!}}{{#switch: {{{2|{{{type|info}}}}}}|info=[[File:OOjs_UI_icon_information-progressive.svg|20px]]|reminder=[[File:OOjs_UI_icon_lightbulb-yellow.svg|20px]]|warn=[[File:OOjs_UI_icon_alert-warning.svg|20px]]|error=[[File:OOjs_UI_icon_notice-destructive.svg|20px]]|}}
Anonymous user