Template:Mbox: Difference between revisions

ArrowHead294 (talk | contribs)
m Put nowrap in here instead
ArrowHead294 (talk | contribs)
m Decouple alert and mbox
Tag: Manual revert
 
Line 1: Line 1:
<includeonly>{{#tag: templatestyles||src={{{class|mbox}}}/styles.css}}<div class="{{{class|mbox}}}-container {{{class|mbox}}}-text {{{class|mbox}}}-{{{type|notice}}}">
<includeonly><templatestyles src="mbox/styles.css" /><div class="mbox-container mbox-text mbox-{{{type|notice}}}">
{{#if: {{{icon|}}}{{{label|}}}{{{text|}}}
{{#if: {{{icon|}}}{{{text|}}}
| {{(!}}
| {{(!}}
{{!-}}
{{!-}}
{{#if: {{{icon|}}}|{{!}} [[File:{{{icon}}}|{{{icon size|60px}}}]]|}}
{{#if: {{{icon|}}}|{{!}} [[File:{{{icon}}}|{{{icon size|60px}}}]]|}}
{{#if: {{{label|}}}|{{!}} class{{=}}"{{{class|mbox}}}-text" style{{=}}"width: 1%;" {{!}} {{nowrap|{{{label}}}}}|}}
{{#if: {{{text|}}}|{{!}} class{{=}}"mbox-text" {{!}} {{{text}}}|}}
{{#if: {{{text|}}}|{{!}} class{{=}}"{{{class|mbox}}}-text" {{!}} {{{text}}}|}}
{{!)}}
{{!)}}
|  
|