Jump to content

Template:Info: Difference between revisions

From pool
[checked revision][pending revision]
Content deleted Content added
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
<onlyinclude>{{Note|{{{1}}}|{{{3|info}}}|{{{2|}}}}}</onlyinclude>
<onlyinclude>{{Note|{{{1}}}|{{{2|info}}}|{{{3|}}}}}</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 an informational message"
"description": "Show an Info Note",
"paramOrder": [
"1",
"2",
"3"
],
"format": "inline"
}
}
</templatedata>[[Category:AutoDumpContentFromCommons]]</noinclude>
</templatedata>
[[Category:AutoDumpContentFromCommons]]</noinclude>

Latest revision as of 10:08, 23 March 2026

 
  
{{{1}}}

Show an Info Note

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Info Text1

no description

Example
It is useful to take note that ...
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