Templat:B pataka/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Penampilan penggunaan dasar, immediately following |class=, dalam kode sumber spanduk wikiproject, dan setelah substitusi wajib:
B
  |b1  =
  |b2  =
  |b3  =
  |b4  =
  |b5  =
  |b6  =
Penampilan (jika ada) dari hasil as rendered di halaman pembicaraan Wikipedia yang diterapkan sepenuhnya bergantung pada templat proyek wiki yang subtemplat ini diterapkan.
Templat spanduk yang diperluas akan menampilkan daftar kriteria kelas B yang disediakan oleh subtemplat ini, atau subtemplat ini akan beroperasi secara diam-diam sebagai daftar periksa hanya kode sumber.

Penggunaan[sunting sumber]

|class={{subst:B}}

Untuk memberikan nilai yang diketahui dengan segera:

|class={{subst:B|b1 value|b2 value|b3 value|b4 value|b5 value|b6 value|assessment class}}

Lihat di bawah untuk lebih banyak contoh, termasuk memberikan sedikit, satu atau nol nilai B-kriteria.

Prosedur[sunting sumber]

Template ini ditujukan untuk digunakan dengan semua spanduk halaman pembicaraan artikel ProyekWiki yang didasarkan pada {{WPBannerMeta}} dan yang menggunakan B_CHECKLIST = yes.

Tujuannya adalah untuk mempercepat pembuatan parameter daftar periksa kelas-B, atau mempercepat masuknya nilai mereka untuk editor yang melakukan penilaian dalam jumlah besar dan telah menghafal urutan parameternya, dengan meniadakan kebutuhan untuk membuat 6 parameter daftar periksa yang diperlukan secara manual.

The template must be substituted, or the banner's B-class checklist will not work properly. It substitutes cleanly, with no evidence of having been created by a template, such as leftover conditional code.

No parameters are required. If the 7th parameter is used, then either it must be specified numerically (e.g. {{subst:B|7=C}}) or all 7 parameters must be present, though the first 6 may be empty ({{subst:B|||||||C}}). If used, the 7th parameter must have a value that corresponds to one of the quality assessment classes (C, Stub, etc.). The default value is B.

Contoh[sunting sumber]

  • {{Maths rating|class=C|b1=|b2=|b3=|b4=|b5=|b6=|...parameter lainnya...}}

menunjukkan artikel kelas C siap untuk penilaian daftar periksa kelas B, dapat dilakukan dengan lebih cepat dengan:

  • {{Maths rating|class={{subst:B|||||||C}}|...other parameters...}}

or

  • {{Maths rating|class={{subst:B|7=C}}|...parameter lainnya...}}

Demikian pula,

  • {{Maths rating|class=Stub|b1=no|b2=no|b3=no|b4=|b5=yes|b6=}}

menunjukkan rintisan yang (pada dasarnya menurut definisi) tidak dapat memenuhi sebagian besar kriteria kelas-B, dan bahkan belum dievaluasi untuk beberapa di antaranya, tetapi sedang cukup dalam bahan pendukung, dapat dilakukan lebih cepat dengan:

The end result of each pair of examples will look the same in the final code.

Note that it must be preceded by |class=, and must be followed by | and the next parameter or, if at end of template, by }}.

Parameter values[sunting sumber]

Note that there is no testing to ensure that the values entered are valid; a value of "yess" or "Statr" will appear verbatim, so check before saving.

The first 6 parameters are in the same b1 through b6 order as in WPBannerMeta:

  1. Referencing and citations
  2. Coverage and accuracy
  3. Structure
  4. Grammar
  5. Supporting materials
  6. Accessibility

The available values for all of these 6 parameters are ? (unassessed, the default), blank (empty, but present, which defaults to ?), yes (which indicates a passing assessment) or no (which indicates a failing assessment). The template does not output actual empty (blank) values, as this will trigger the WikiProject banner to display very longwinded B-class assessment parameter instructions, because the meta-template for the banner is not coded to recognize these parameters if empty, thus the "?".

The (sensible) available assessment classes for the 7th parameter are Stub, Start, C and B. The GA and higher assessments do not use B-class checklist parameters, and various other values, such as Cat and NA, are not logically applicable to use of this template, since they are for non-articles. Similarly, the Current and Future assessments, for articles about current or upcoming events and which are in a constant state of flux, are pointless to assess for B-class status until the event is past. The parameters can be used with GA and up to show (in the source view) a historical assessment at B-class, but the B checklist will not be displayed by the banner. The default selection, B, will appear as "C" in the banner until all B-class checklist items are yes. Please note: Do not just fill them with yes if you have not actually assessed the article for compliance with the B-class quality checklist!

Lihat pula[sunting sumber]