Template:WarnAlt: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:
"description": "The severity of the warning that will also determine the color of the warning. ",
"description": "The severity of the warning that will also determine the color of the warning. ",
"example": "Danger, Caution, Note",
"example": "Danger, Caution, Note",
            "suggestedvalues": [
      "Danger",
      "Caution",
      "Note"
        ],
"type": "string",
"type": "string",
"default": "Caution",
"default": "Caution",

Revision as of 15:27, 13 February 2022


The severity argument is required.

Create a warning box to get the users attention

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Warning Box SizeSize

The size or type of the warning to be created

Default
Full
Example
Full, Small, Line
Stringdeprecated
Severity and ColorSeverity

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

Suggested values
Danger Caution Note
Default
Caution
Example
Danger, Caution, Note
Stringrequired
Displayed TextMessage

The text to be displayed in the warning box

Example
Caps may retain charge after poweroff
Stringrequired