Template:Warn: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
(Created page with "<div style="background-color:#FFFFFF; padding: 1.2rem; margin-top: 0.5em; border: 1px solid #c8ccd1; border-top-color:{{{Color}}}; border-top-width: .4rem; border-radius: .20rem; box-shadow: 2px 2px #F7F8F9;">35px|right|link={{{Warning text}}}<br/></div> <noinclude> <templatedata> { "params": { "Warning text": { "description": "The warning information to give the user", "type": "string", "required": true, "...")
 
No edit summary
Line 19: Line 19:
}
}
</templatedata>
</templatedata>
</noinclude>
[[Category:Warning Templates]]</noinclude>

Revision as of 22:56, 15 February 2022

{{{Warning text}}}

A top floating warning box to alert users when viewing a page

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Warning textWarning text

The warning information to give the user

Default
Warning text here
Stringrequired
ColorColor

The color of the warning box accents

Default
#36C
Stringoptional