Template:Message Box: Difference between revisions

From Phantasy Star Universe Clementine
(miraheze mbox)
 
(quick and dirty changes to make the template work)
Line 1: Line 1:
<div style="width: {{#if:{{{width|}}}|{{{width}}}|80%}}; background-color: {{#if:{{{Background color}}}|{{{Background color}}}|#f5f5f5}}; border-top: 1px solid {{#if:{{{Border color}}}|{{{Border color}}}|#aaaaaa}}; border-bottom: 1px solid {{#if:{{{Border color}}}|{{{Border color}}}|#aaaaaa}}; border-right: 1px solid {{#if:{{{Border color}}}|{{{Border color}}}|#aaaaaa}}; border-left: 12px solid {{#if:{{{Flag color}}}|{{{Flag color}}}|#aaaaaa}}; margin: 0.5em auto 0.5em;">
<div {{#if:{{{class}}}|class="{{{class|messagebox}}}"}} style="width: {{#if:{{{width|}}}|{{{width}}}|80%}}; {{#if:{{{Background color|}}}|background-color: {{{Background color}}};}} border-top: 1px solid {{#if:{{{Border color|}}}|{{{Border color}}}}}; border-bottom: 1px solid {{#if:{{{Border color|}}}|{{{Border color}}}}}; border-right: 1px solid {{#if:{{{Border color|}}}|{{{Border color}}}}}; border-left: 12px solid {{#if:{{{Flag color|}}}|{{{Flag color}}}|#aaaaaa}}; margin: 0.5em auto 0.5em;">
{|
{|
{{#if:{{{Image}}}|{{!}}style="width:93px; text-align:center; vertical-align:middle; padding-top:1px;padding-bottom:7px" {{!}} {{{Image}}} }}
{{#if:{{{Image|}}}|{{!}}style="width:93px; text-align:center; vertical-align:middle; padding-top:1px;padding-bottom:7px" {{!}} {{{Image}}} }}
|style="vertical-align:middle;padding-left:3px;padding-top:10px;padding-bottom:10px;padding-right:10px; background-color: {{#if:{{{Background color}}}{{!}}{{{Background color}}}{{!}}#f5f5f5}};" | {{{Message text}}}
|style="vertical-align:middle;padding-left:3px;padding-top:10px;padding-bottom:10px;padding-right:10px; background-color: {{#if:{{{Background color}}}{{!}}{{{Background color}}}{{!}}#f5f5f5}};" | {{{Message text|}}}
|}
|}
</div><noinclude>[[Category:Notice templates]]</noinclude>
</div><noinclude>[[Category:Notice templates]]</noinclude>

Revision as of 20:01, 19 December 2023