Templat:Class

Daripada Wikipedia, ensiklopedia bebas.
 ??? 
Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]

Templat ini digunakan untuk menunjukkan tahap penilaian WP1.0 untuk banner WikiProject dan tempat lain.

Penggunaan[sunting sumber]

  • {{class|grade}}
    Di mana grade ialah klasifikasi rencana tersebut.
  • {{class|grade|image=yes}}
    |image=yes Memaparkan satu ikon kecil di sebelah penjelasan grade untuk semua penilaian (dihasilkan oleh {{class/icon}}).
    |image=no tidak memaparkan ikon.
    |image= (kosong atau tiada penyataan) memaparkan ikon untuk kelas FA, FL, A and GA sahaja.
  • {{class|grade|category=category}}
    Menyatakan pautan kategori alternatif.
  • {{class|grade|header=yes}}
    By default the {{class}} template generates a table cell using the <td>...</td> element. If the template is used in the header row of a sortable table, use |header=yes so that the cell is constructed using the <th>...</th> element. If used elsewhere than a header row, omit this parameter.

Contoh[sunting sumber]

{{class|RP}}

Rencana pilihan Rp 

{{class|RP|image=no}}

Rencana pilihan Rp 

{{class|RP|category=biography articles}}

Rencana pilihan Rp 

{{class|B}}

Rencana Kelas B B 

{{class|B|image=yes}}

Rencana Kelas B B 

{{class|B|category=mathematics articles}}

Rencana Kelas B B 

TemplateData[sunting sumber]

Berikut ialah pendokumenan TemplateData untuk templat ini yang digunakan oleh VisualEditor dan alatan-alatan lain; lihat laporan penggunaan parameter bulanan untuk templat ini.

TemplateData untuk Class

Parameter templat[Sunting data templat]

ParameterKeteranganJenisStatus
Grade1

The classification of the article

Rentetandiperlukan
Imageimage

Set to 'yes' to display an icon; 'no' to not display an icon; or no value or blank to display an icon for FA, FL, A and GA classes only

Rentetanpilihan
Categorycategory

An alternative category link

Rentetanpilihan
Headerheader

Set to 'yes' if the template is used in the header row of a sortable table, so that the cell is constructed using a "th" element rather than a "td" element

Rentetanpilihan

Lihat juga[sunting sumber]

Templat:Grading scheme/doc/see also