Template:Messagebox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Messagebox/styles.css" /> | <includeonly><templatestyles src="Messagebox/styles.css" /> | ||
{|align=center cellpadding="2" cellspacing="1" style="border-width:1px;border-color:{{#if:{{{color|}}}|{{{color|}}}|black}}; border-style:solid; clear:both;border-radius:16px;{{#if:{{{light_color|}}}|background-color:{{{light_color|}}}}};" | {|align=center cellpadding="2" cellspacing="1" style="border-width:1px;border-color:{{#if:{{{color|}}}|{{{color|}}}|black}}; border-style:solid; clear:both;border-radius:16px;{{#if:{{{light_color|}}}|background-color:{{{light_color|}}}}};{{#if:{{{max_width|}}}|max-width:{{{max_width|}}}}}" | ||
|<span><font color="{{{color|}}}"><center>{{#if:{{{header|}}}|'''{{{header|}}}'''<br/>}}{{#if:{{{text|}}}|{{{text|}}}<br/>}}</center></font></span> | |<span><font color="{{{color|}}}"><center>{{#if:{{{header|}}}|'''{{{header|}}}'''<br/>}}{{#if:{{{text|}}}|{{{text|}}}<br/>}}</center></font></span> | ||
|{{#if:{{{image|}}}|<span style="padding:5px 5px 5px 5px;">[[File:{{{image|}}}|70x70px|class=round]]</span>}} | |{{#if:{{{image|}}}|<span style="padding:5px 5px 5px 5px;">[[File:{{{image|}}}|70x70px|class=round]]</span>}} | ||
Line 19: | Line 19: | ||
"header": {}, | "header": {}, | ||
"text": {}, | "text": {}, | ||
"image": {} | "image": {}, | ||
"max_width": {} | |||
} | } | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Latest revision as of 20:07, 3 August 2024
You should probably listen to what this message box says. You can also do line breaks! |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
color | color | This defines the color for the box border and the text inside of it. If left blank, it defaults to black. You can use HEX, RGB(A), HSLA(A) or the default HTML names.
| Unknown | optional |
light_color | light_color | Lighter color used for the background of the box. This is preferably something with a lower alpha value, to make text easy to read. You can use HEX, RGB(A), HSLA(A) or the default HTML names.
| Unknown | optional |
header | header | no description | Unknown | optional |
text | text | no description | Unknown | optional |
image | image | no description | Unknown | optional |
max_width | max_width | no description | Unknown | optional |