Template:Messagebox: Difference between revisions

From MediaWiki
Jump to navigationJump to search
JW (talk | contribs)
m Deleting unnecessary cat.
Derik (talk | contribs)
mNo edit summary
Line 14: Line 14:
|talkSameLine=
|talkSameLine=
|noCats=
|noCats=
|clearall=
}}
}}
</pre>
</pre>
Line 19: Line 20:
</noinclude>
</noinclude>
<includeonly><center>
<includeonly><center>
{| cellspacing="0" {{ #if:{{{width|}}}| style="width:{{{width}}};"|}} border=
{| cellspacing="0" style="{{ #if:{{{width|}}}| width:{{{width}}};|}}{{ #if:{{{clearall|}}}| clear: both;|}}"
|-
|-
| style="padding:0 1em 0 1em;text-align:right;" |<div style="width:100%;padding:.5em; background-color:#{{{bgcolor|efefff}}}; border:solid 1px #{{{border|9f9fff}}};text-align:{{{justification|center}}};margin:auto;">{{#if: {{{image_name|}}} |
| style="padding:0 1em 0 1em;text-align:right;" |<div style="width:100%;padding:.5em; background-color:#{{{bgcolor|efefff}}}; border:solid 1px #{{{border|9f9fff}}};text-align:{{{justification|center}}};margin:auto;">{{#if: {{{image_name|}}} |

Revision as of 20:09, 12 June 2008

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



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