Template:Messagebox: Difference between revisions

From DominionStrategy Wiki
Jump to navigation Jump to search
m changed the layout a little bit
Needed 3rd encapsulating curly brackets on the Silent parameter.
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| width="90%" align="center" cellspacing="2" style="border: 1px solid #000000; border-left: 10px solid {{#if:{{{Color|}}}| {{{Color}}}| #999}}; background-color: #eee; padding: 5px 0; margin-bottom: 0px; margin-left: 5%;"
{| width="90%" align="center" cellspacing="2" style="border: 1px solid #000000; border-left: 10px solid {{#if:{{{Color|}}}|{{{Color}}}|gray}}; background-color: #eee; padding: 5px 0; margin-bottom: 0px; margin-left: 5%;"
|align=center|{{{Message}}}
|align=left|{{#if:{{{Image|}}}|{{{Image}}}|}}
|}<includeonly>[[Category:{{#if:{{{Category|}}}|{{{Category}}}|Article with Messagebox}}]]</includeonly><noinclude>
|align=left|{{{Message}}}
|}<includeonly>{{#if:{{{Silent|}}}||[[Category:{{#if:{{{Category|}}}|{{{Category}}}|Article with Messagebox}}]]}}</includeonly>


<noinclude>
==Usage==
==Usage==
:<code><nowiki>{{Messagebox|Message=More information needed|Color:red|Category:Short Article}}</nowiki></code>
:<code><nowiki>{{Messagebox|Image=[[File:TacticianArt.jpg|42px|link=]]|Message=More information needed|Color=red|Category=Short Article}}</nowiki></code>
</noinclude>
</noinclude>

Latest revision as of 21:40, 10 June 2024

{{{Message}}}


Usage

{{Messagebox|Image=[[File:TacticianArt.jpg|42px|link=]]|Message=More information needed|Color=red|Category=Short Article}}