Difference between revisions of "Template:MessageBox"

From mtgpq wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
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>
|small = {{{small|}}}
+
==Usage==
|image = {{#if:{{{image|}}}|[[Image:{{{image}}}|45px]]|none}}
+
<pre>
|smallimage = {{#if:{{{image|}}}|[[Image:{{{image}}}|30px]]|none}}
+
<nowiki>
|text  = {{{text|}}}
+
{{MessageBox
}}<noinclude>{{documentation}}</noinclude>
+
|Text
 +
}}
 +
 
 +
This template provides a simple way of adding a custom banner to an article talk page.
 +
</nowiki>
 +
</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.