Template:Alert: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="alert/styles.css" /><div class="alert-container alert-text alert-{{{type|note}}}"> | <includeonly><templatestyles src="alert/styles.css" /><div class="alert-container alert-text alert-{{{type|note}}}"> | ||
{{#if: {{{label|}}}{{{text|}}} | {{#if: {{{icon|}}}{{{label|}}}{{{text|}}} | ||
| {{(!}} | | {{(!}} | ||
{{!-}} | {{!-}} | ||
{{#if: {{{icon|}}}|{{!}} <span class{{=}}"alert-icon">{{{icon}}}</span>|}} | {{#if: {{{icon|}}}|{{!}} <span class{{=}}"alert-icon">{{{icon}}}</span>|}} | ||
{{#if: {{{label|}}}|{{!}} '''{{{label}}}:''' |}} | |||
{{#if: {{{text|}}}|{{!}} class{{=}}"alert-text" {{!}} {{{text}}}|}} | |||
{{!)}} | {{!)}} | ||
| | | | ||