Template:Messagebox: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Derik (talk | contribs)
m added documantation of undocumented parameter tag which you should never use.
Derik (talk | contribs)
mNo edit summary
Line 23: Line 23:
{{ #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|}}}|<br/><small>{{{talkpage|}}} [[:{{NAMESPACE}} talk:{{PAGENAME}}{{!}}talk page]].</small>|}}
{{ #if: {{{talkpage|}}}|<small><br/>{{{talkpage|}}} [[:{{NAMESPACE}} talk:{{PAGENAME}}{{!}}talk page]].</small>|}}
</div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}}
</div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}}
|}
|}

Revision as of 00:44, 30 August 2007

{{Messagebox|
|message_text=
|header=
|image_name=
|talkpage=
|categories=
|mouseover=
|image_width=
|border=
|bgcolor=
|justification=
}}



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|}}} |}}