Template:Message box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Add {{{subtle}}} option to allow not having the message box span the whole screen |
||
Line 12: | Line 12: | ||
}} {{{class|}}}" | }} {{{class|}}}" | ||
style=" | style=" | ||
max-width: {{{width|{{#if: {{{mini|{{{small|}}}}}} | 50em | 90% }}}}}; | |||
{{#if: {{{subtle|}}} | max-width: 300px; float: right; flex-direction: column; font-size: 95%; }} | |||
{{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }} | {{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }} | ||
{{#if: {{{linecol|}}} | border-left: 4px solid {{{linecol}}}; | }} | {{#if: {{{linecol|}}} | border-left: 4px solid {{{linecol}}}; | }} | ||
{{#if: {{{float|}}} | float: {{{float}}}; | }} | {{#if: {{{float|}}} | float: {{{float}}}; | }} | ||
{{{css|}}} | {{{css|}}} |