Template:Note: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} |gotcha=error |=info |#default={{{2|{{{type|}}}}}} }}...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Note/ | <templatestyles src="Note/style.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} | ||
|gotcha=error | |gotcha=error | ||
|=info | |=info | ||
|#default={{{2|{{{type|}}}}}} | |#default={{{2|{{{type|}}}}}} | ||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | ||
{ style = background-color: #fff9ea; | |||
/* [[File:OOjs_UI_icon_alert-warning.svg]] */ | |||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg); | |||
background-size: 25px; | |||
border-color: #fc3; | |||
min-height: 28px; | |||
} |
Latest revision as of 02:56, 20 February 2022
<templatestyles src="Note/style.css" />
{{{text}}}
{ style = background-color: #fff9ea;
/* File:OOjs UI icon alert-warning.svg */
background-image: url(https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg);
background-size: 25px;
border-color: #fc3;
min-height: 28px;
}