Template:Message box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
there's really no reason to require two parameters just to display and set a custom "discuss" link |
||
Line 4: | Line 4: | ||
| style="vertical-align: middle; border: none" | {{#if: {{{icon|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}"> }}{{#if: {{{image|}}}{{{imagetextbefore|}}}{{{imagetextafter|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}"> }}<!-- | | style="vertical-align: middle; border: none" | {{#if: {{{icon|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}"> }}{{#if: {{{image|}}}{{{imagetextbefore|}}}{{{imagetextafter|}}} | <div style="margin: 0 {{#if: {{{mini|}}} | 2 | 4 }}px 0 3px;{{{imagecss|}}}"> }}<!-- | ||
-->{{{imagetextbefore|}}}{{#if: {{{icon|}}} | {{CommentSprite | {{{icon|}}} }} }}{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }} }}|text-top]] }}{{{imagetextafter|}}}</div> | -->{{{imagetextbefore|}}}{{#if: {{{icon|}}} | {{CommentSprite | {{{icon|}}} }} }}{{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | {{#if: {{{mini|}}} | 16px | 32px }} }}|text-top]] }}{{{imagetextafter|}}}</div> | ||
| style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}} | <sup>[[{{#if: {{{discussPage|}}} | {{{discussPage}}} | {{TALKPAGENAME}} }}{{#if:{{{discussAnchor|}}} | #{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!-- | | style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}}{{{discussPage|}}}{{{discussAnchor|}}} | <sup>[[{{#if: {{{discussPage|}}} | {{{discussPage}}} | {{TALKPAGENAME}} }}{{#if:{{{discussAnchor|}}} | #{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!-- | ||
-->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }} | -->{{#if: {{{text|}}} | {{#if: {{{title|}}} | <div>{{{text}}}</div> | {{{text}}} }} }} | ||
|}{{#if: {{{nocat|}}} || {{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates | |}{{#if: {{{nocat|}}} || {{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates]] }} }}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |