Template:Message box: Difference between revisions

m Stopping it <p>ing all over the msgbox if there's no icon.
Take two
Line 1: Line 1:
<includeonly><div style="{{msgbox/style|{{{type|normal}}} | bgcol = {{{bgcol|#FFFFCC}}} | linecol = {{{linecol|#616161}}} | width = {{{width|640px}}} }} {{{customcss|}}}"><!--
<includeonly><div style="{{msgbox/style|{{{type|normal}}} | bgcol = {{{bgcol|#FFFFCC}}} | linecol = {{{linecol|#616161}}} | width = {{{width|640px}}} }} {{{customcss|}}}"><!--
-->{{#if: {{{title|}}} | '''{{{title|}}}''' }}{{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}|Discuss]]</sup> }}
-->{{#if: {{{title|}}} | '''{{{title|}}}''' }}{{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}|Discuss]]</sup> }}<!--
{{#if: {{{icon|}}} | {{CommentSprite| {{{icon}}} }}&nbsp; }}{{#if: {{{text|}}} | {{#if: {{{title|}}} | <br /> }} {{{text}}} }}
-->{{#if: {{{icon|}}} | {{CommentSprite| {{{icon}}} }}&nbsp; }}{{#if: {{{text|}}} | {{#if: {{{title|}}} | <br /> }} {{{text}}} }}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Usage ==
== Usage ==