User:Sammp/Template:Old Page Note: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} | |||
|gotcha=error | |||
|=info | |||
|#default={{{2|{{{type|}}}}}} | |||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{text}}}}}}</div> | |||
| [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|<!--T:1--> Note|link=]] '''<!--T:2--> Note:''' }}<!-- | |||
--></onlyinclude> | |||
{{Note|Foo|warn}} | {{Note|Foo|warn}} |
Revision as of 04:38, 12 November 2021
{{#if: {{#if:||{{#if:demo|demo|}} }} | <templatestyles src="Note/styles.css" />
{{{text}}}
| Note Note: }}
<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;
}