Template:Note: 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 |
||
| (45 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
< |
<includeonly><templatestyles src="Note/styles.css" /> |
||
{{#switch: {{{2}}} |
|||
<noinclude><templatedata> |
|||
| reminder-green = |
|||
{ |
|||
<div style="clear: both;"></div><div class="note {{{4|back-palegreen}}}"><div style="float: left">[[File:OOjs UI icon lightbulb-yellow.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Note: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
"params": { |
|||
| reminder-yellow = |
|||
"1": { |
|||
<div style="clear: both;"></div><div class="note {{{4|back-yellow}}}"><div style="float: left">[[File:OOjs UI icon lightbulb-yellow.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Note: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
"label": "Note Text", |
|||
| caution = |
|||
"example": "Some of Einstein's Brain is un-accounted for..", |
|||
<div style="clear: both;"></div><div class="note {{{4|back-orange}}}><div style="float: left">[[File:OOjs UI icon alert-warning.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Caution: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
"type": "string", |
|||
| caution-red = |
|||
"required": true |
|||
<div style="clear: both;"></div><div class="note {{{4|back-red}}}><div style="float: left">[[File:OOjs UI icon alert-destructive.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Caution: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
} |
|||
| caution-orange = |
|||
}, |
|||
<div style="clear: both;"></div><div class="note {{{4|back-orange}}}><div style="float: left">[[File:OOjs UI icon alert-warning.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Caution: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
"description": "Show a Note" |
|||
| tip = |
|||
} |
|||
<div style="clear: both;"></div><div class="note {{{4|back-clear-blue}}}><div style="float: left">[[File:Customer Service Icon.png||30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Tip: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
</templatedata>[[Category:AutoDumpContentFromCommons]]</noinclude> |
|||
| moved = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-clear-blue}}}><div style="float: left">[[File:301redirect.png|100px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Moved: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| warning = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-red}}}><div style="float: left">[[File:OOjs_UI_icon_notice-destructive.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Warning: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| dragons = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-red}}}><div style="float: left">[[File:Dragon.webp|100px]]</div><div style="min-height: 100px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Here be Dragons!}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| info = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-brown}}}><div style="float: left">[[File:OOjs_UI_icon_reference_20_ac6600.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| info-blue = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-clear-blue}}}><div style="float: left">[[File:OOjs UI icon reference-progressive.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> {{{1}}}</div></div></div> |
|||
| legend = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-lightgrey}}}><div style="float: left">[[File:OOjs UI icon info.svg.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Legend: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| legend-clear = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-clear-black}}}><div style="float: left">[[File:OOjs UI icon info.svg.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Legend: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| legend-blue = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-clear-blue}}}><div style="float: left">[[File:OOjs UI icon info-progressive.svg.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Legend: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| elephant = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-pink}}}><div style="float: left">[[File:pink-elephant.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| clown = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-cyan-sky-boarder}}}><div style="float: left">[[File:clown-icon.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| backpack = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-yellow-teal-boarder}}}><div style="float: left">[[File:backpack-icon.jpg|60px]]</div><div style="min-height: 60px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3| }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| tension = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-red}}}><div style="float: left">[[File:tension-icon.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| crystalball = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-lavender-purple-boarder}}}><div style="float: left">[[File:crystal-ball-icon.png|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| hourglass = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-green-darkgreen-boarder}}}><div style="float: left">[[File:Hourglass-icon.svg|35px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| breadcrumbs = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-clear-black}}}><div style="float: left">[[File:breadcrumb-trail.png|100px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|}}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
| #default = |
|||
<div style="clear: both;"></div><div class="note {{{4|back-palegreen}}}"><div style="float: left">[[File:OOjs UI icon lightbulb-yellow.svg|30px]]</div><div style="min-height: 35px;"> <div style="flex-grow:0;flex-shrink:0;"><strong>{{{3|Note: }}}</strong> </div><div>{{{1}}}</div></div></div> |
|||
}}</includeonly><noinclude> |
|||
{{documentation}}</noinclude> |
|||
Latest revision as of 19:03, 7 April 2026
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
| This template uses TemplateStyles: |
Usage
{{Note|This is with a blue green background the default}}
{{Note|This is with a better yellower background|reminder-yellow}}
{{Note|This is a brown info box the same as used on mediawiki|info}}
{{Note|This is a clean less intrusive info box|info-blue}}
{{Note|Careful with this action, this is a caution by default in orange|caution}}
{{Note|Careful with this action, this is a caution in red if you prefer|caution-red}}
{{Note|A warning message!|warning}}
{{Note||dragons}}
{{Note|Stop, proceed with great caution|dragons|Dragons:}}
{{Note|This is a strong start to my story|elephant}}
{{Note|You know what is definitely not going to happen|crystalball}}
{{Note|If I can get you laughing we will all be smarter|clown}}
{{Note|Let me load you up with expectations|backpack}}
{{Note|There is one thing I can never tell you|tension}}
{{Note|Just wait for a long time while I tell you lots and lots and lots of unnecessary details|hourglass}}
{{Note|Let me drop some clues for you to follow . . . |breadcrumbs}}
Show a Note
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Note 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 |
| Option to change CSS Class | 4 | no description
| String | optional |