Template:Message box: Difference between revisions

From Modded Wiki
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|}}} | &#35;{{{discussAnchor}}} }}|Discuss]]</sup> }} }}<!--
| style="border: none" | {{#if: {{{title|}}} | '''{{{title}}}''' {{#if: {{{discuss|}}}{{{discussPage|}}}{{{discussAnchor|}}} | <sup>[[{{#if: {{{discussPage|}}} | {{{discussPage}}} | {{TALKPAGENAME}} }}{{#if:{{{discussAnchor|}}} | &#35;{{{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|{{BASEPAGENAME}}]] }} }}</includeonly><noinclude>
|}{{#if: {{{nocat|}}} || {{#ifeq: {{NAMESPACE}} | Template | [[Category:Notice templates]] }} }}</includeonly><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 21:43, 29 November 2017

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.