Template:Warn: Difference between revisions
Jump to navigation
Jump to search
(Convert to table model to center icon vertically (looks more professional)) |
No edit summary |
||
Line 1: | Line 1: | ||
<div style="background-color:#FFFFFF; padding: 1.2rem; margin: 0.5em 0; border: 1px solid #c8ccd1; border-top-color:{{{Color}}}; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;"> | <div style="background-color:#FFFFFF; padding: 1.2rem; margin: 0.5em 0; border: 1px solid #c8ccd1; border-top-color:{{{Color}}}; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;"> | ||
{| style=width:100% | {| style=width:100% | ||
| style="width:100% | {{{Warning text}}} | | style="width:100% | {{{Warning text}}} | ||
| [[File:{{{Icon|OOjs UI icon information-progressive.svg}}}|35px|link=]] | |||
|} | |} | ||
</div> | </div> |
Latest revision as of 18:19, 17 February 2022
{{{Warning text}}} |
A top floating warning box to alert users when viewing a page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Warning text | Warning text | The warning information to give the user
| String | required |
Color | Color | The color of the warning box accents
| String | optional |
Icon | Icon | The image used as an icon displayed at right. Omit the ''File:'' prefix.
| String | optional |