Jump to content

Template:Caution: Difference between revisions

From pool
[unchecked revision][pending revision]
Content deleted Content added
No edit summary
No edit summary
Tag: 2017 source edit
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{Note|{{{1}}}|{{{2|caution}}}|{{{3|Caution:}}}}}</onlyinclude>
<onlyinclude><templatestyles src="Caution/styles.css" />
<div style="clear: both;"></div><div class="caution-note>
[[File:OOjs UI icon alert-warning.svg]] &nbsp;'''Caution: ''' {{{1}}}</div></onlyinclude>
<noinclude><templatedata>
<noinclude><templatedata>
{
{
Line 10: 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