Template:Message box: Difference between revisions
Jump to navigation
Jump to search
m Added class so changes can be made from usercss. |
Fixed borders showing within tables. |
||
Line 2: | Line 2: | ||
-->{{#if: {{{mini|}}} | padding: 0px 6px 0px 1px; margin: 0 0 1em; | padding: 3px 12px 3px 7px; margin: 0 auto 1em; text-align:center; }} {{{css|}}}" | -->{{#if: {{{mini|}}} | padding: 0px 6px 0px 1px; margin: 0 0 1em; | padding: 3px 12px 3px 7px; margin: 0 auto 1em; text-align:center; }} {{{css|}}}" | ||
|- | |- | ||
| | | style="vertical-align: middle; border: none" | {{#if: {{{icon|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px"> }}{{#if: {{{image|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px"> }}<!-- | ||
-->{{#if: {{{icon|}}} | {{CommentSprite | {{{icon|}}} }} </div> }}{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }} }}|text-top]] </div> }} | -->{{#if: {{{icon|}}} | {{CommentSprite | {{{icon|}}} }} </div> }}{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }} }}|text-top]] </div> }} | ||
| {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}|Discuss]]</sup> }} }}<!-- | | style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}|Discuss]]</sup> }} }}<!-- | ||
-->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }} | -->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }} | ||
|}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude> | |}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates|{{BASEPAGENAME}}]] }}</includeonly><noinclude> | ||
{{/doc}}</noinclude> | {{/doc}}</noinclude> |