Template:WarnAlt

From Caps Wiki
Revision as of 05:36, 17 February 2022 by DigitalIceAge (talk | contribs)
Jump to navigation Jump to search

{{#switch:

| #default =

Error: The severity argument is required.
| note|1 = Size argument is required.
| caution|2 = Size argument is required.
| warning|3 = Size argument is required.
| danger|4 = Size argument is required.

| custom|5 = Size argument is required.

Create a warning box to get the users attention

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Severity and Colorseverity 1

The severity of the warning that will also determine the color of the warning.

Suggested values
danger warning caution note
Default
caution
Stringrequired
Warning Box Sizesize 2

The size or type of the warning to be created.

Default
large
Stringdeprecated
Displayed Textmessage 3

The text to be displayed in the warning box.

Example
Caps may retain charge after poweroff
Stringrequired