Templat:Note: Perbedaan antara revisi

Dari FIAI Dokumentasi
Loncat ke navigasi Loncat ke pencarian
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(7 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
<languages/>
<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=<translate><!--T:1--> Note</translate>|link=]]&nbsp;'''<translate><!--T:2--> Note:</translate>''' }}<!--
   | [[File:OOjs UI icon lightbulb-20 fc3.svg|18px|alt=Note|link=]]&nbsp;'''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 Note: Loose test

  • Text
    Foo