Template:Message box: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
Add imagetext. (btw this template really sucks)
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"> }}<!--
| style="vertical-align: middle; border: none" | {{#if: {{{icon|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px"> }}{{#if: {{{image|}}}{{{imagetext|}}} | <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: {{{imagetext|}}} | {{{imagetext}}} | {{#if: {{{icon|}}} | {{CommentSprite | {{{icon|}}} }} }}{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }} }}|text-top]] }} }}</div>
| style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}{{#if:{{{discussAnchor|}}} | &#35;{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!--
| style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{TALKPAGENAME}}{{#if:{{{discussAnchor|}}} | &#35;{{{discussAnchor}}} }}|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>

Revision as of 06:15, 2 March 2013