Site Notice

Remember to pay a visit to our Discord server and chat with our community! See here for more info.

Be sure to check out the KHUX Wiki for the latest on Kingdom Hearts Union χ and Kingdom Hearts Dark Road! Go and pitch in!

The KHWiki contains spoilers for all Kingdom Hearts games. Read at your own risk.

Please remember not to add information about unreleased games from trailers.

Template:Messagebox: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - "<br/>" to "<br>")
 
(6 intermediate revisions by 5 users not shown)
Line 18: Line 18:
</pre>
</pre>
|}
|}
</noinclude>
</noinclude><includeonly><center>
<includeonly><center>
{|class="mw-collapsible mw-collapsed" cellspacing="0" style="{{ #if:{{{width|}}}| width:{{{width}}};|}}{{ #if:{{{clearall|}}}| clear: both;|}}"
{|class="collapsible collapsed" 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|E8FFEE}}}; border:solid 2px #{{{border|98C058}}}; -moz-border-radius: 10px; 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|E8FFEE}}}; border:solid 2px #{{{border|98C058}}}; border-radius: 10px; text-align:{{{justification|center}}};margin:auto;">{{#if: {{{image_name|}}} |
[[Image:{{{image_name|}}}|left{{ #if: {{{image_width|}}}|{{!}}{{{image_width|}}}px|}}{{ #if: {{{mouseover|}}} |{{!}}{{{mouseover|}}}|}}]] | }}
[[File:{{{image_name|}}}|left{{ #if: {{{image_width|}}}|{{!}}{{{image_width|}}}px|}}{{ #if: {{{mouseover|}}} |{{!}}{{{mouseover|}}}|}}]] | }}
{{ #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 one line of text in order to force the thing to lay out correctly.}}}
{{ #if: {{{talkpage|}}}|<small>{{ #if: {{{talkSameLine|}}}| &nbsp;|<br/>}}{{{talkpage|}}} [[:{{NAMESPACE}} talk:{{PAGENAME}}{{!}}talk page]].</small>|}}
{{ #if: {{{talkpage|}}}|<small>{{ #if: {{{talkSameLine|}}}| &nbsp;|<br>}}{{{talkpage|}}} [[:{{NAMESPACE}} talk:{{PAGENAME}}{{!}}talk page]].</small>|}}
</div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}}
</div>{{#if: {{{bottomtext|}}}|<small>{{{bottomtext|}}}</small>|}}
|}
|}
Line 37: Line 36:
If you do need to use it, the format usually looks something like this;
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>'''
'''<tt><nowiki> |bottomtext={{#if: {{{pending|}}}|<b>Decision Pending:</b> {{{pending|}}} |}}</nowiki></tt>'''
</noinclude>
[[Category:Utility templates]]</noinclude>

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