Jump to content

Template:MessageBox: Difference between revisions

From Survivalcraft Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<table class="message-box" style="border: {{{border|}}}; border-radius: {{{borderRadius|}}}; background-color: {{{backgroundColor|}}};">
{{#ifeq: {{lc: {{{type}}} }} | error |
<td style="padding-right: 10px;">{{{imageSource|}}}</td>
<table class="message-box" style="border: 1px solid #9f3526; background-color: #ffe9e5;">
<td style="font-family: {{{fontFamily|}}}; font-size: {{{fontSize|14px}}}">{{{text|}}}</td>
<td style="padding-right: 10px">[[File:caution_red.png|30x30px]]</td>
<td>{{{text|This is an error message box.}}}</td>
</table>
</table>
|}}
{{#ifeq: {{lc: {{{type}}} }} | info |
<table class="message-box" style="border: 1px solid #a3caff; background-color: #eaf3ff;">
<td style="padding-right: 10px">[[File:caution_red.png|30x30px]]</td>
<td>{{{text|This is an info message box.}}}</td>
</table>
|}}
</includeonly>

Latest revision as of 20:41, 30 July 2025