Template:Alert: Difference between revisions

Maybe this?
No edit summary
Line 3: Line 3:
| {{(!}}
| {{(!}}
{{!-}}
{{!-}}
{{#if: {{{icon|}}}|{{!}}<span class{{=}}"alert-icon">{{{icon}}}</span>|}}'''{{{label|}}}{{colon}}'''|}}
{{#if: {{{icon|}}}|{{!}} <span class{{=}}"alert-icon">{{{icon}}}</span>|}}'''{{{label|}}}{{colon}}''' {{#if: {{{text|}}}|{{!}} class{{=}}"alert-text" {{!}} {{{text}}}|}}
{{#if: {{{text|}}}|{{!}} class{{=}}"alert-text" {{!}} {{{text}}}|}}
{{!)}}
{{!)}}
|  
|