Template:Message box: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<span style="text-align: center;"> |
<span style="text-align: center;"> |
||
<div style="display: inline-flex !important; border: {{{border-size|1px}}} {{{border-style|solid}}} {{{border-color|#A2A9B1}}}; border-radius: {{{border-radius|0px}}}; background: {{{bg-color|#F8F9FA}}}; text-align: {{{align|center}}}; color: {{{color|unset}}} !important; min-width: 60%; max-width: 80%; width: auto !important; justify-content: space-{{#if: {{{image|}}}|between|around}}"> |
<div style="display: inline-flex !important; border: {{{border-size|1px}}} {{{border-style|solid}}} {{{border-color|#A2A9B1}}}; border-radius: {{{border-radius|0px}}}; background: {{{bg-color|#F8F9FA}}}; text-align: {{{align|center}}}; color: {{{color|unset}}} !important; min-width: 60%; max-width: 80%; width: auto !important; justify-content: space-{{#if: {{{image|}}}|between|around}}"> |
||
{{#if: {{{image|}}}|<div style="display: flex; align-items: center;">[[File:{{{image}}}| |
{{#if: {{{image|}}}|<div style="display: flex; align-items: center;">[[File:{{{image}}}|50px|class=autoheight]]</div><div style="width: 10%"></div>}} |
||
<div> |
<div> |
||
{{#if: {{{title|}}}|'''}}{{{title|}}}{{#if: {{{title|}}}|'''}} |
{{#if: {{{title|}}}|'''}}{{{title|}}}{{#if: {{{title|}}}|'''}} |
||
Line 8: | Line 8: | ||
{{{text|}}} |
{{{text|}}} |
||
</div> |
</div> |
||
{{#if: {{{image|}}}| {{#ifeq: {{{align|center}}}|center|<div style="width: |
{{#if: {{{image|}}}| {{#ifeq: {{{align|center}}}|center|<div style="width: 50px;"></div>|}} }} |
||
</div> |
</div> |
||
</span> |
</span> |