Difference between revisions of "Template:MessageBox"

From mtgpq wiki
Jump to: navigation, search
 
Line 1: Line 1:
{{Mbox
+
<includeonly><div id='messageBox' align=center style="width:{{{width|95%}}}; text-align:{{{text-align|center}}}; font-size:{{{font-size|100%}}}; border:1px solid {{{border|{{Theme.Default.Border}}}}}; background:{{{background|{{Theme.Default.BG}}}}}; border-radius:10px; margin:{{{margin|1em}}}; clear:{{{clear|none}}}; padding:{{{padding|5px}}};{{{extrastyle|}}}">{{#if:{{{Message|}}}|{{{Message}}}|{{#if:{{{1|}}}|{{{1}}}}} }}</div></includeonly><noinclude>
|Message = Foo
+
==Usage==
 +
<pre>
 +
<nowiki>
 +
{{MessageBox
 +
|Text
 
}}
 
}}
 
{{Documentation subpage}}
 
  
 
This template provides a simple way of adding a custom banner to an article talk page.
 
This template provides a simple way of adding a custom banner to an article talk page.
 
+
</nowiki>
== Usage ==
 
<pre>
 
{{Messagebox
 
| image =
 
| text  =
 
}}
 
 
</pre>
 
</pre>
 +
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 22:40, 23 August 2018

Usage


{{MessageBox
|Text
}}

This template provides a simple way of adding a custom banner to an article talk page.