Template:Message box: Difference between revisions

m optional border
m changed to avoid default hex
Line 1: Line 1:
<onlyinclude><div style="display: flex; justify-content: center;">
<onlyinclude><div style="display: flex; justify-content: center;">
<div style="border: 1px solid #ccc; background-color: #f8f7f5; width: 80%; min-width: 310px;">
<div style="border: 1px solid #ccc; background-color: #f8f7f5; width: 80%; min-width: 310px;">
<div style="display: flex; align-items: center; padding: 7px; {{#ifeq:{{{border}}}|none||border-left: 10px solid {{{border|#e1d2b3}}};}}">
<div style="display: flex; align-items: center; padding: 7px; {{#if:{{{border|none}}}|border-left: 10px solid {{{border|#e1d2b3}}};}}">
{{#if:{{{image|}}}|[[File:{{{image}}}|50px|link=]]|}}
{{#if:{{{image|}}}|[[File:{{{image}}}|50px|link=]]|}}
<div style="display: block; margin-left: 15px;">
<div style="display: block; margin-left: 15px;">