Template:NB: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
USAGE: {{BOX|style|message}} | USAGE: {{BOX|style|message}} | ||
style is one of: tip, deprecated, note, warning, important | |||
otherwise draws just a black box. | |||
--> | --> | ||
{{#switch: {{{1}}} | {{#switch: {{{1}}} | ||
Line 8: | Line 11: | ||
{{!}} '''<span style="color: #2FB5AB;">Tip:</span>''' {{{2}}} | {{!}} '''<span style="color: #2FB5AB;">Tip:</span>''' {{{2}}} | ||
{{!}}} | {{!}}} | ||
| deprecated = {{{!}} style="border: 3px solid # | | deprecated = {{{!}} style="border: 3px solid #808080; padding: 10px; background: #F7F7F7" | ||
{{!}} '''<span style="color: # | {{!}} '''<span style="color: #808080;">Deprecated:</span>''' {{{2}}} | ||
{{!}}} | {{!}}} | ||
| #default = {{{!}} style="border: 3px solid #000000; padding: 10px; background: #FFFFFF" | | note = {{{!}} style="border: 3px solid #2C68FC; padding: 10px; background: #F0F4FF" | ||
{{!}} | {{!}} '''<span style="color: #2C68FC;">Note:</span>''' {{{2}}} | ||
{{!}}} | |||
| warning = {{{!}} style="border: 3px solid #A82C35; padding: 10px; background: #FCF3F4" | |||
{{!}} '''<span style="color: #A82C35;">Warning:</span>''' {{{2}}} | |||
{{!}}} | |||
| important = {{{!}} style="border: 3px solid #4C265F; padding: 10px; background: #F8F4FB" | |||
{{!}} '''<span style="color: #4C265F;">Important:</span>''' {{{2}}} | |||
{{!}}} | |||
| #default = {{{!}} style="border: 3px solid #000000; padding: 10px; background: #FFFFFF" | |||
{{!}} {{{2}}} | |||
{{!}}} | {{!}}} | ||
}} | }} |
Revision as of 21:22, 7 October 2021
{{{2}}} |