Jump to content

Template:Caution: Difference between revisions

From pool
[checked revision][pending revision]
Content deleted Content added
m 1 revision imported
No edit summary
Tag: 2017 source edit
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{Note|{{{1}}}|{{{2|caution}}}}}</onlyinclude>
<onlyinclude>{{Note|{{{1}}}|{{{2|caution}}}|{{{3|Caution:}}}}}</onlyinclude>
<noinclude><templatedata>
<noinclude><templatedata>
{
{
Line 8: Line 8:
"type": "string",
"type": "string",
"required": true
"required": true
},
"2": {
"label": "Icon or Background Color",
"description": "Optional Change the Icon or Background Color",
"example": "caution, warning, tip, info, info-blue, reminder-yellow, caution-red",
"type": "string"
},
"3": {
"label": "Option to change leading text",
"example": "Note: Caution: or Warning:",
"type": "string"
}
}
},
},
"description": "Show a Caution"
"description": "Show a Caution",
"paramOrder": [
"1",
"2",
"3"
],
"format": "inline"
}
}
</templatedata>[[Category:AutoDumpContentFromCommons]]</noinclude>
</templatedata>
[[Category:AutoDumpContentFromCommons]]</noinclude>

Latest revision as of 10:14, 23 March 2026

 
Caution:  
{{{1}}}

Show a Caution

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Caution Text1

no description

Example
Do not continue until Step XYZ is complete
Stringrequired
Icon or Background Color2

Optional Change the Icon or Background Color

Example
caution, warning, tip, info, info-blue, reminder-yellow, caution-red
Stringoptional
Option to change leading text3

no description

Example
Note: Caution: or Warning:
Stringoptional