Template:Alert: Difference between revisions

Ffs what's this
Maybe this?
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}}}|}}
{{!)}}
{{!)}}