Difference between revisions of "Template:Message box"
(created) |
m (Fixing it up) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <center><div style="text-align: center; margin: 0 | + | <center><div style="text-align: center; margin: 0 10%;"> |
{| class="notice noprint" id="{{{id}}}" style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: 0.1em; margin: 0.5em auto;" | {| class="notice noprint" id="{{{id}}}" style="background: {{{backgroundcolor}}}; border: 1px solid #aaa; padding: 0.1em; margin: 0.5em auto;" | ||
|- | |- | ||
− | | | + | | style="padding: 0.1em" | [[Image:{{{image}}}|50px| ]] |
− | | style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%;">{{{message}}}</div> | + | | style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%; text-align: center">{{{message}}}</div> |
|} | |} | ||
− | </div></center><noinclude> | + | </div></center> |
− | + | <noinclude> | |
+ | {{/doc}} | ||
+ | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 17:07, 6 July 2021
Usage
{{Message_box
|backgroundcolor =
|image =
|heading =
|message =
}}
- backgroundcolor: Box background color (default may depend on skin)
- image: Name of image (do not use "Image:" or "File:" heading)
- heading: Heading text
- message or text: Message text