Difference between revisions of "Template:Message box"

m (Removed bottom margin)
m (updating)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<center><div style="text-align: center; margin: 0 10% 1em 0;">
+
{{Mbox
{| class="notice noprint" id="{{{id}}}" style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: 0.1em; margin: 0.5em auto;"
+
| image = {{#if:{{{image|}}}|[[Image:{{{image}}}|45px]]|none}}
|-
+
| style = {{#if:{{{backgroundcolor|}}}|background: {{{backgroundcolor}}}}}
| valign="top" style="padding: 0.1em" | [[Image:{{{image}}}|45px| ]]
+
| text  = {{#if:{{{heading|}}}|'''{{{heading|}}}'''<br />}}{{{message|{{{text|<noinclude>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.</noinclude>}}}}}}
| style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%; text-align: center">{{{message}}}</div>
+
| small = {{{small|}}}
|}
+
| smallimage = {{#if:{{{image|}}}|[[Image:{{{image}}}|30px]]|none}}
</div></center><noinclude>
+
}}<noinclude>{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
[[Category:Template templates]]
 
</noinclude>
 

Latest revision as of 23:41, 18 March 2024