Template:Messagebox: Difference between revisions
From MediaWiki
Jump to navigationJump to search
mNo edit summary |
m added documantation of undocumented parameter tag which you should never use. |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{| style="background: transparent; float:left;" | {| style="background: transparent; float:left; padding-right:1em;" | ||
|<pre>{{Messagebox| | |<pre>{{Messagebox| | ||
|message_text= | |message_text= | ||
| Line 29: | Line 29: | ||
{{Messagebox}} | {{Messagebox}} | ||
{{-}} | |||
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; | |||
'''<tt><nowiki> |bottomtext={{#if: {{{pending|}}}|<b>Decision Pending:</b> {{{pending|}}} |}}</nowiki></tt>''' | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Revision as of 00:39, 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|}}} |}}

