Template:Caution: Difference between revisions
Appearance
| [unchecked revision] | [pending revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) No edit summary |
Caleb cooper (talk | contribs) No edit summary Tag: 2017 source edit |
||
| (5 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 class="caution-note> |
|||
[[File:OOjs UI icon alert-yellow.svg]] '''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 |
</templatedata> |
||
[[Category:AutoDumpContentFromCommons]]</noinclude> |
|||
Latest revision as of 10:14, 23 March 2026
Show a Caution
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Caution Text | 1 | no description
| String | required |
| Icon or Background Color | 2 | Optional Change the Icon or Background Color
| String | optional |
| Option to change leading text | 3 | no description
| String | optional |