Difference between revisions of "Template:Message box"
m (Fixing it up) |
m (Fixing it up) |
||
Line 2: | Line 2: | ||
{| 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" | [[file:{{{image}}}|{{{image_size}}}]] | + | | style="padding: 0.1em" | [[file:{{{image}}}|upright|{{{image_size}}}]] |
| style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%; text-align: center">{{{message}}}</div> | | style="padding: 0.1em" | '''{{{heading}}}'''<br><div style="font-size: 90%; text-align: center">{{{message}}}</div> | ||
|} | |} |
Revision as of 01:28, 7 March 2022
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