User:Sammp/Template:Note: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|#default={{{2|{{{type|}}}}}} | |#default={{{2|{{{type|}}}}}} | ||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | ||
{{Note|Foo|warn}} |
Revision as of 00:23, 6 December 2021
<templatestyles src="User:Sammp/Template:Note/styles.css" />
{{{text}}}
<templatestyles src="Note/style.css" />
Foo
{ 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;
}