Difference between revisions of "Template:MessageBox"

From mtgpq wiki
Jump to: navigation, search
(Created page with "{{Mbox |small = {{{small|}}} |image = {{#if:{{{image|}}}|[[Image:{{{image}}}|45px]]|none}} |smallimage = {{#if:{{{image|}}}|[[Image:{{{image}}}|30px]]|none}} |text = {{{text|...")
 
 
(2 intermediate revisions 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|{{{1|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.}}}}}}
+
{{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.