Template:Messagebox/doc: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
I hate the {{messagebox}} template with the power of a million exploding Sentrys.
 
Tigerpaw28 (talk | contribs)
Updating to reflect the removal of 'nocats' in favor of a namespace check
 
Line 12: Line 12:
|justification=
|justification=
|talkSameLine=
|talkSameLine=
|noCats=
|clearall=
|clearall=
|print=true
|print=true

Latest revision as of 02:09, 29 May 2022

{{Messagebox|
|message_text=
|header=
|image_name=
|talkpage=
|categories=
|mouseover=
|image_width=
|border=
|bgcolor=
|justification=
|talkSameLine=
|clearall=
|print=true
}}

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.


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

[edit]

By default, this template will not appear when the page is printed. To force it to appear set print=true.