Template:Alert: Difference between revisions

No edit summary
See how this works out
Line 3: Line 3:
| {{(!}}
| {{(!}}
{{!-}}
{{!-}}
{{#if: {{{icon|}}}|{{!}} <span class{{=}}"alert-icon">{{{icon|}}}</span>{{{#if: {{{label|}}}|'''{{{label|}}}:'''|}}}|}}
{{#if: {{{icon|}}}|{{!}} class{{=}}"alert-text" style{{=}}"white-space: nowrap;" {{!}} <span class{{=}}"alert-icon">{{{icon|}}}</span>{{{#if: {{{label|}}}|'''{{{label|}}}:'''|}}}|}}
{{#if: {{{text|}}}|{{!}} class{{=}}"alert-text" {{!}} {{{text|}}}|}}
{{#if: {{{text|}}}|{{!}} class{{=}}"alert-text" {{!}} {{{text|}}}|}}
{{!)}}
{{!)}}