Jump to content

Template:MessageBox: Difference between revisions

From Survivalcraft Wiki
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
{{#ifeq: {{lc: {{{type|}}} }} | error |
<table class="message-box" style="border: {{{border|}}}; background-color: {{{backgroundColor|}}};">
<table class="message-box" style="border: 1px solid #9f3526; background-color: #ffe9e5;">
<td style="padding-right: 10px">{{{imageFilePath|}}}</td>
<td style="padding-right: 10px">[[File:Caution_red.png|30x30px]]</td>
<td>{{{text|This is a message box.}}}</td>
<td>{{{text|This is an error message box.}}}</td>
</table>
</table>
}}
{{#ifeq: {{lc: {{{type|}}} }} | warning |
<table class="message-box" style="border: 1px solid #ab7f2a; background-color: #fdf2d5;">
<td style="padding-right: 10px">[[File:Caution_yellow.png|30x30px]]</td>
<td>{{{text|This is a warning message box.}}}</td>
</table>
}}
{{#ifeq: {{lc: {{{type|}}} }} | info |
<table class="message-box" style="border: 1px solid #a3caff; background-color: #eaf3ff;">
<td style="padding-right: 10px">[[File:Info_blue.png|30x30px]]</td>
<td>{{{text|This is an info message box.}}}</td>
</table>
}}

Revision as of 19:20, 30 July 2025

This is a message box.