Difference between revisions of "Template:MessageBox"
(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: | ||
− | {{ | + | <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> |
− | | | + | ==Usage== |
− | | | + | <pre> |
− | + | <nowiki> | |
− | + | {{MessageBox | |
− | }}< | + | |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.