Templat:Note: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
Kusprayitna (bicara | kontrib) Tidak ada ringkasan suntingan Tag: Dikembalikan |
Kusprayitna (bicara | kontrib) Tidak ada ringkasan suntingan |
||
(10 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
<onlyinclude>{{#if: {{#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|}}}}}} | <onlyinclude>{{#if: {{#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 | ||
Baris 5: | Baris 4: | ||
|#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= | | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|alt=Note|link=]] '''Note:''' }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
{{Dokumentasi| | |||
== Usage == | |||
<pre> | |||
{{Note|Foo}} | |||
{{Note|Foo|info}} | |||
{{Note|Foo|reminder}} | |||
{{Note|Foo|warn}} | |||
{{Note|Foo|error}} | |||
{{Note}} Loose test | |||
* Text {{Note|Foo|inline=1}} | |||
</pre> | |||
{{Note|Foo}} | |||
{{Note|Foo|info}} | |||
{{Note|Foo|reminder}} | |||
{{Note|Foo|warn}} | |||
{{Note|Foo|error}} | |||
{{Note}} Loose test | |||
* Text {{Note|Foo|inline=1}} | |||
}} |
Revisi terkini sejak 29 April 2023 00.04
{{{text}}}
DOKUMENTASI TEMPLAT
Usage
{{Note|Foo}} {{Note|Foo|info}} {{Note|Foo|reminder}} {{Note|Foo|warn}} {{Note|Foo|error}} {{Note}} Loose test * Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo
Note: Loose test
- Text Foo