Template:Mbox: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
Since Template:Ambox is not fully implemented. I am copying the implemention of Mbox I have on https://www.hazeron.com/wiki/index.php/Template:Mbox, it works fine.
 
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<includeonly><center>
<includeonly><center>
{| style="border-style: solid; border-width: 5px; border-color: {{{colorborder|}}}; background-color:{{{colorbackground|}}}; color: {{{colortext|}}};"
{| style="border-style: solid; border-width: 5px; border-color: {{{colorborder|}}}; background-color:{{{colorbackground|}}}; color: {{{colortext|}}};"
| style="vertical-align:middle; text-align:center;" | [[File:{{#if:{{{icon|}}}|{{{icon}}}|Imbox_deletion.png}}]]
| style="vertical-align:middle; text-align:center;"  
| {{#if:{{{icon|}}}|         {{{icon}}}             |<i class="fa-solid fa-triangle-exclamation"></i>}}
{{#if:{{{text|}}}|{{!}} style="vertical-align:middle;" {{!}} {{{text}}}|}}
{{#if:{{{text|}}}|{{!}} style="vertical-align:middle;" {{!}} {{{text}}}|}}
|}
|}
</center></includeonly><noinclude>{{Mbox/Doc}}</noinclude>
</center></includeonly><noinclude>{{Mbox/Doc}}</noinclude>

Revision as of 12:16, 29 April 2024