Template:Messagebox: Difference between revisions
From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:") |
m (Text replacement - "<br/>" to "<br>") |
||
Line 25: | Line 25: | ||
{{ #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 one 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 one line of text in order to force the thing to lay out correctly.}}} | ||
{{ #if: {{{talkpage|}}}|<small>{{ #if: {{{talkSameLine|}}}| |<br | {{ #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>|}} | ||
|} | |} |
Latest revision as of 17:45, 24 November 2022
{{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 one 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|}}} |}}