Template:Message box: Difference between revisions

From Modded Wiki
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}}}; | }}
  max-width: {{{width|{{#if: {{{mini|{{{small|}}}}}} | 50em | 90% }}}}};
   {{#if: {{{float|}}} | float: {{{float}}}; | }}
   {{#if: {{{float|}}} | float: {{{float}}}; | }}
   {{{css|}}}
   {{{css|}}}

Revision as of 03:16, 22 May 2024

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.