Template:Caution: Difference between revisions

[unchecked revision][pending revision]
Content deleted Content added
Undid revision 853071246 by Hddty. (talk)
 
No edit summary
Tag: 2017 source edit
 
(9 intermediate revisions by 2 users not shown)
Line 1:
<onlyinclude>{{Note|{{{1}}}|{{{2|caution}}}|{{{3|Caution:}}}}}</onlyinclude>
{{Mbox
<noinclude><templatedata>
| name = Caution
{
| demospace = {{{demospace|}}}
"params": {
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
"1": {
| subst = <includeonly>{{subst:substcheck}}</includeonly>
"label": "Caution Text",
| type = style
"example": "Do not continue until Step XYZ is complete",
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|40px|Caution|link={{{imagelink|}}}]]}}
"type": "string",
| small = {{{small|}}}
"required": true
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|30px|Caution|link={{{imagelink|}}}]]}}
},
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
"2": {
| textstyle = {{{textstyle|{{{align|text-align: {{#if:{{{center|}}}|center|left}};}}}}}}
"label": "Icon or Background Color",
| text = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{center|}}}|center|left}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
"description": "Optional Change the Icon or Background Color",
-->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
"example": "caution, warning, tip, info, info-blue, reminder-yellow, caution-red",
}}<noinclude>{{Documentation}}</noinclude>
"type": "string"
},
"3": {
"label": "Option to change leading text",
"example": "Note: Caution: or Warning:",
"type": "string"
}
},
"description": "Show a Caution",
"paramOrder": [
"1",
"2",
"3"
],
"format": "inline"
}
</templatedata>
[[Category:AutoDumpContentFromCommons]]</noinclude>