Difference between revisions of "Template:MsgBox"

From Casio Universal Wiki
Jump to: navigation, search
Line 4: Line 4:
 
<table id="TemplateMsgBoxTable" style="{{#if:{{{BgColor|}}}|background-color:{{{BgColor}}} !important;}}{{#if:{{{BorderColor|}}}|border-color:{{{BorderColor}}} !important;}}">
 
<table id="TemplateMsgBoxTable" style="{{#if:{{{BgColor|}}}|background-color:{{{BgColor}}} !important;}}{{#if:{{{BorderColor|}}}|border-color:{{{BorderColor}}} !important;}}">
 
<tr>
 
<tr>
<td id="TemplateMsgBoxIcon">[[file:{{{image}}}]]</td>
+
<td id="TemplateMsgBoxIcon">
 +
[[File:{{#if:{{{icon|}}} | {{{icon}}} | {{#switch:{{{theme}}}
 +
| red        = Template_MsgBox_redSerious.png
 +
| blue      = Template_MsgBox_blueInfo.png
 +
| orange    = Template_MsgBox_orangeWarning.png
 +
| Template_MsgBox_blueInfo.png
 +
}} }} |45x35px|alt=|link=]]
 +
 
 +
 
 +
</td>
 
<td>
 
<td>
 
 
Line 21: Line 30:
 
|TitleStyle      = color:white;text-decoration:underline;
 
|TitleStyle      = color:white;text-decoration:underline;
 
|TextStyle        = color:yellow; font-style:italic;
 
|TextStyle        = color:yellow; font-style:italic;
|image            = Template_MsgBox_Pen.png
+
|icon            = Template_MsgBox_Pen.png
  
  

Revision as of 22:55, May 22, 2012



Error : « title » is missing