Template:Note: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
No edit summary
No edit summary
Line 43:
<div style="clear: both;"></div><div class="note {{{4|back-palegreen}}}">
[[File:OOjs UI icon lightbulb-yellow.svg]] &nbsp;'''{{{3|Note: }}}''' {{{1}}}</div>
}}</onlyinclude><noinclude>
{{documentation}}
<noinclude>
</templatedata>[[Category:AutoDumpContentFromCommons]]</noinclude>
== Usage ==
<pre>{{Note|This is with a blue green background the default}}</pre>
{{Note|This is with a blue green background the default}}
 
 
<pre>{{Note|This is with a better yellower background|reminder-yellow}}</pre>
{{Note|This is with a better yellower background|reminder-yellow}}
 
 
<pre>{{Note|This is a brown info box the same as used on mediawiki|info}}</pre>
{{Note|This is a brown info box the same as used on mediawiki|info}}
 
 
<pre>{{Note|This is a clean less intrusive info box|info-blue}}</pre>
{{Note|This is a clean less intrusive info box|info-blue}}
 
 
<pre>{{Note|Careful with this action, this is a caution by default in orange|caution}}</pre>
{{Note|Careful with this action, this is a caution by default in orange|caution}}
 
 
<pre>{{Note|Careful with this action, this is a caution in red if you prefer|caution-red}}</pre>
{{Note|Careful with this action, this is a caution in red if you prefer|caution-red}}
 
 
<pre>{{Note|A warning message!|warning}}</pre>
{{Note|A warning message!|warning}}
 
 
<pre>{{Note|This a a tech support helpful suggestion or tip . . .|tip}}</pre>
{{Note|This a a tech support helpful suggestion or tip . . .|tip}}
<templatedata>
{
"params": {
"1": {
"label": "Note Text",
"example": "Some of Einstein's Brain is un-accounted for..",
"type": "string",
"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"
}
},
"description": "Show a Note",
"paramOrder": [
"1",
"2"
],
"format": "inline"
}
</templatedata>[[Category:AutoDumpContentFromCommons]]</noinclude>