Template:Note: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<src="Note/style.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} | <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;
}