Şablon:Class: Redaktələr arasındakı fərq

Vikipediya, azad ensiklopediya
Naviqasiyaya keçin Axtarışa keçin
Silinən məzmun Əlavə edilmiş məzmun
Redaktənin izahı yoxdur
Redaktənin izahı yoxdur
Sətir 1: Sətir 1:
<noinclude><table><tr></noinclude><!--
<noinclude><table><tr></noinclude><!--


--><{{#if:{{{header|}}}|th|td}} class="assess assess-{{lc:{{{1|}}}}} {{{statuslu|}}}" style="
--><{{#if:{{{header|}}}|th|td}} class="assess assess-{{lc:{{{1|}}}}} {{{class|}}}" style="
text-align:center;
text-align:center;
white-space:nowrap;
white-space:nowrap;
Sətir 9: Sətir 9:


-->{{#switch:{{uc:{{{image|}}}}}{{lc:{{{1|}}}}}
-->{{#switch:{{uc:{{{image|}}}}}{{lc:{{{1|}}}}}
|sm|ss|smf|a|as|ym
|fa|fl|fm|a|al|ga
|YES{{lc:{{{1|}}}}} = {{class/icon|class={{{1|}}}}}&nbsp;
|YES{{lc:{{{1|}}}}} = {{class/icon|class={{{1|}}}}}&nbsp;
|NO{{lc:{{{1|}}}}}
|NO{{lc:{{{1|}}}}}
Sətir 15: Sətir 15:
}}<!--
}}<!--


-->[[:Kateqoriya:{{#if:{{{fullcategory|}}}|{{{fullcategory}}}|<!--
-->[[:Category:{{#if:{{{fullcategory|}}}|{{{fullcategory}}}|<!--


-->{{#switch:{{lc:{{{1|¬}}}}}
-->{{#switch:{{lc:{{{1|¬}}}}}
|unassessed||¬=Unassessed
|qiymətləndirilməmiş||¬={{#if:{{{topic|{{{kateqoriya|}}}}}}|Qiymətləndirilməmiş|Qiymətləndirilməmiş-statuslu}}
|#default={{{1}}}-statuslu
|#default={{{1}}}-Class
}}<!--
}}<!--


--> {{#if:{{{kateqoriya|}}}
--> {{#if:{{{category|}}}
|{{{kateqoriya}}}
|{{{category}}}
|{{{topic|}}} məqalələr}}
|{{{topic|}}} articles}}
}}<!--
}}<!--


-->|{{#switch:{{lc:{{{1|¬}}}}}
-->|{{#switch:{{lc:{{{1|¬}}}}}
|qiymətləndirilməmiş||¬=???
|unassessed||¬=???
|#default={{{1}}}
|#default={{{1}}}
}}]]&nbsp;<!--
}}]]&nbsp;<!--

13:53, 18 fevral 2017 versiyası

 ??? 
Sənədləşmə

This template is used to show WP1.0 assessment ratings on WikiProject banners and other places.

Usage

  • {{class|grade}}
    Where grade is the classification of the article.
  • {{class|grade|image=yes}}
    |image=yes Displays a small icon next to the grade description for all assessments (produced by {{class/icon}}).
    |image=no does not ever display icons.
    |image= (blank or undefined) displays icons for FA, FL, A and GA classes only.
  • {{class|grade|category=category}}
    Define an alternative category link.
  • {{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.

Examples

{{class|FA}}

 FA 

{{class|FA|image=no}}

 FA 

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

 FA 

{{class|Bplus}}

Bplus-Class article Bplus 

{{class|Bplus|image=yes}}

Bplus-Class article Bplus 

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

Bplus-Class article Bplus 

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Class

Şablon parametrləri[Şablon məlumatlarını redaktə edin]

ParametrİzahTipiStatus
Grade1

The classification of the article

Mətnvacib
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

Mətnvacib deyil
Categorycategory

An alternative category link

Mətnvacib deyil
Headerheader

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

Mətnvacib deyil

Həmçinin bax