Template:Messagebox: Difference between revisions
From MediaWiki
Jump to navigationJump to search
mNo edit summary |
m more documentation |
||
| Line 12: | Line 12: | ||
|bgcolor= | |bgcolor= | ||
|justification= | |justification= | ||
|talkSameLine= (if 'true' puts the talk link on the same line as the message) | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 23: | Line 24: | ||
{{ #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|}}} [[:{{NAMESPACE}} talk:{{PAGENAME}}{{!}}talk page]].</small>|}} | {{ #if: {{{talkpage|}}}|<small>{{ #if: {{{talkSameLine|}}}| |<br/>}}{{{talkpage|}}} [[:{{NAMESPACE}} talk:{{PAGENAME}}{{!}}talk page]].</small>|}} | ||
</div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}} | </div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}} | ||
|} | |} | ||
Revision as of 00:53, 30 August 2007
{{Messagebox|
|message_text=
|header=
|image_name=
|talkpage=
|categories=
|mouseover=
|image_width=
|border=
|bgcolor=
|justification=
|talkSameLine= (if 'true' puts the talk link on the same line as the message)
}}
|
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|}}} |}}

