Template:Notice: Difference between revisions
From MiiWiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
<div>[[File:{{{image|Needed.png}}}|{{{width|50px}}}|{{{alt-text|}}}]]</div> | <div>[[File:{{{image|Needed.png}}}|{{{width|50px}}}|{{{alt-text|}}}]]</div> | ||
<div><!-- | <div><!-- | ||
-->{{#if:{{{header|}}}|'''Notice: {{{header}}}'''|}} | -->{{#if:{{{header|}}}|'''Notice: {{{header}}}'''<br>|}}<!-- | ||
-->{{{message|}}} | -->{{{message|}}} | ||
</div> | </div> |
Revision as of 16:28, 11 September 2021
Template parameters
Parameter | Description | Default |
---|---|---|
bg
|
The color of the background. This will affect the border color automatically. | #ffe423
|
textcolor
|
The color of the text. Change to #fff (white) if the background is dark.
|
#000
|
image
|
Image of the notice. | Needed.png
|
width
|
Width of the image. | 50px
|
alt-text
|
Alt text of the image. | None |
header
|
Header of the notice. | None |
message
|
Message of the notice. | None |