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