Template:Alert: Difference between revisions
Created page with "<includeonly><templatestyles src="alert/styles.css" /><div class="alert-container alert-text alert-{{{type|note}}}"> {{#if: {{{icon|}}}{{{text|}}} | {{(!}} {{!-}} {{#if: {{{icon|}}}|{{!}} [[File:{{{icon}}}|{{{icon size|60px}}}]]|}} {{#if: {{{text|}}}|{{!}} class{{=}}"alert-text" {{!}} {{{text}}}|}} {{!)}} | }} </div></includeonly><noinclude> {{Documentation}} Category:Alert templates </noinclude>" |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| (18 intermediate revisions by 4 users not shown) | |||
| 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: {{{icon|}}}{{{text|}}} | {{#if: {{{icon|}}}{{{label|}}}{{{text|}}} | ||
| {{(!}} | | {{(!}} | ||
{{!-}} | {{!-}} | ||
{{#if: {{{icon|}}}|{{!}} | {{#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}}}|}} | ||
{{!)}} | {{!)}} | ||