Template:Messagebox: Difference between revisions
From MediaWiki
Jump to navigationJump to search
.noprint (overridable) |
m So it doesn't construct silly article names like "Talk talk:Fred" |
||
| Line 6: | Line 6: | ||
{{ #if: {{{header|}}} |<span style="font-size:125%;font-weight:900;">{{{header|}}}</span><hr/>|}} | {{ #if: {{{header|}}} |<span style="font-size:125%;font-weight:900;">{{{header|}}}</span><hr/>|}} | ||
{{{message_text|Your message text goes here. Generally speaking, you should have more than 1 line of text in order to force the thing to lay out correctly.}}} | {{{message_text|Your message text goes here. Generally speaking, you should have more than 1 line of text in order to force the thing to lay out correctly.}}} | ||
{{ #if: {{{talkpage|}}}|<small>{{ #if: {{{talkSameLine|}}}| |<br/>}}{{{talkpage|}}} [[:{{ | {{ #if: {{{talkpage|}}}|<small>{{ #if: {{{talkSameLine|}}}| |<br/>}}{{{talkpage|}}} [[:{{TALKPAGENAME}}{{!}}talk page]].</small>|}} | ||
</div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}} | </div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}} | ||
|} | |} | ||
Revision as of 03:43, 13 September 2011
(Transcluded documentation: view)
{{Messagebox|
|message_text=
|header=
|image_name=
|talkpage=
|categories=
|mouseover=
|image_width=
|border=
|bgcolor=
|justification=
|talkSameLine=
|clearall=
|print=true
}}
|
There is an additional parameter 'bottomtext' that should really never be used unless you know what you're doing, because its presence is often conditional; it's used for clarifying something.
If you do need to use it, the format usually looks something like this; |bottomtext={{#if: {{{pending|}}}|<b>Decision Pending:</b> {{{pending|}}} |}}
Printing
By default, this template will not appear when the page is printed. To force it to appear set print=true.

