Templat:Menghitung/doc: Perbedaan antara revisi

(←Membuat halaman berisi '{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{Lua|Module:ParameterCount}} Returns a number from (0 or 1) to 10 indicating the number of '''defined''' parameters passed.  Currently supports a '''maximum of 10 parameters'''.<!--NOTE: Update Template:Count/testcases if support is added for more parameters. --> == Usage == Set ''base=0'' or ''base=1'' to change from the default value returned if...')
 
Tidak ada ringkasan suntingan
 
(1 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 2: Baris 2:
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{Lua|Module:ParameterCount}}
{{Lua|Module:ParameterCount}}
Returns a number from (0 or 1) to 10 indicating the number of '''defined''' parameters passed.&nbsp; Currently supports a '''maximum of 10 parameters'''.<!--NOTE: Update [[Template:Count/testcases]] if support is added for more parameters. -->
Menghasilkan sebuah bilangan dari (0 atau 1) hingga 10 menunjukkan istilah '''defined''' telah dilewati.&nbsp; Untuk saat ini hanya mendukung '''maksimal 10 parameter'''.<!--NOTE: Update [[Template:Count/testcases]] if support is added for more parameters. -->


== Usage ==
== Penggunaan ==
Set ''base=0'' or ''base=1'' to change from the default value returned if there are no '''defined''' parameters.&nbsp; (i.e. If no '''defined''' parameters, returns 0 by default <small>(or 1 if ''base=1'')</small>)
Menetapkan ''base=0'' atau ''base=1'' untuk mengubah dari nilai default 0, menjadi 1 jika telah berubah statusnya menjadi '''terdefinisikan'''. <small>(or 1 if ''base=1'')</small>)


== Examples ==
== Contoh ==
{{Count/testcases}}
{{Count/testcases}}


==See also==
==Lihat pula==
*{{tl|Counter}}
*{{tl|Counter}}
* [[:module:ParameterCount]], with more options<!--
* [[:module:ParameterCount]], with more options<!--


--><includeonly>{{Sandbox other||
--><includeonly>{{Sandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
<!-- Kategori ada di sini dan interwiki ada di Wikidata. -->
[[Category:Parameter handling templates]]
[[Category:Parameter handling templates]]


}}</includeonly>
}}</includeonly>

Revisi terkini sejak 22 September 2023 06.12

Menghasilkan sebuah bilangan dari (0 atau 1) hingga 10 menunjukkan istilah defined telah dilewati.  Untuk saat ini hanya mendukung maksimal 10 parameter.

PenggunaanSunting

Menetapkan base=0 atau base=1 untuk mengubah dari nilai default 0, menjadi 1 jika telah berubah statusnya menjadi terdefinisikan. (or 1 if base=1))

ContohSunting

Templat:Count/testcases

Lihat pulaSunting