Templat:Note: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
Kusprayitna (bicara | kontrib) Tidak ada ringkasan suntingan |
Kusprayitna (bicara | kontrib) Tidak ada ringkasan suntingan |
||
Baris 1: | Baris 1: | ||
<onlyinclude> | <onlyinclude> | ||
<templatestyles src=" | {{#if: | ||
<div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} | {{#if:{{{1|{{{text|}}}}}}|{{{1|{{{text|}}}}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <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> | ||
| [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|alt=Note|link=]] }} | | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|alt=<translate><!--T:1--> Note</translate>|link=]] '''<translate><!--T:2--> Note:</translate>''' }} | ||
<!-- | <!-- | ||
--> | --> | ||
</onlyinclude> | </onlyinclude> |