Template:Messagebox: Difference between revisions

From Umamusume Wiki
Jump to navigation Jump to search
(Created page with "<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|}}}}};" |<span><font color="{{{color|}}}"><center>{{#if:{{{header|}}}|'''{{{header|}}}'''<br/>}}{{#if:{{{text|}}}|{{{text|}}}<br/>}}</center></font></span> |{{#if:{{{image|}}}|<span s...")
 
No edit summary
Line 6: Line 6:
</includeonly><noinclude>
</includeonly><noinclude>
{{Messagebox|color=firebrick|light_color=hsla(0, 100%, 80%, 0.5)|header=This is a probably important message!|text=You should probably listen to what this message box says.<br/>You can also do line breaks!|image=Agemasen.jpg}}
{{Messagebox|color=firebrick|light_color=hsla(0, 100%, 80%, 0.5)|header=This is a probably important message!|text=You should probably listen to what this message box says.<br/>You can also do line breaks!|image=Agemasen.jpg}}
</noinclude>
<templatedata>
{
"params": {
"color": {
"description": "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.",
"example": "#d800ff, rgb(216, 0, 255), hsla(291, 100%, 50%, 0.5)"
},
"light_color": {
"description": "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.",
"example": "#d800ff, rgb(216, 0, 255), hsla(291, 100%, 50%, 0.5)"
},
"header": {},
"text": {},
"image": {}
}
}
</templatedata></noinclude>

Revision as of 20:01, 3 August 2024

This is a probably important message!
You should probably listen to what this message box says.
You can also do line breaks!

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
colorcolor

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.

Example
#d800ff, rgb(216, 0, 255), hsla(291, 100%, 50%, 0.5)
Unknownoptional
light_colorlight_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.

Example
#d800ff, rgb(216, 0, 255), hsla(291, 100%, 50%, 0.5)
Unknownoptional
headerheader

no description

Unknownoptional
texttext

no description

Unknownoptional
imageimage

no description

Unknownoptional