Difference between revisions of "Template:Maths rating"

From blackwiki
Jump to navigation Jump to search
imported>Salix alba
imported>MSGJ
(add functionality required for merge with Template:Maths banner)
 
(105 intermediate revisions by 36 users not shown)
Line 1: Line 1:
<noinclude>{{WP_MATH_1.0}}<!-- Project banner and navigation -->
+
{{WPBannerMeta
 
+
|PROJECT            = Mathematics
This is the <nowiki>{{</nowiki>'''maths rating'''<nowiki>}}</nowiki> template which is used to categorize and assess articles within the mathematics WikiProject.
+
|BANNER_NAME        = Template:Maths rating
 
+
|substcheck = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
</noinclude><!-- Begin first part of template: displaying the information about the article
+
|category = {{{category|}}}
-->{| class="{{#ifeq:{{lc:{{{nested|}}}}}|yes|collapsible collapsed messagebox nested-talk|{{#ifeq:{{lc:{{{small|}}}}}|yes|messagebox small-talk|messagebox standard-talk}}}}"
+
|listas = {{{listas|}}}
|-
+
|IMAGE_LEFT          = Nuvola apps edu mathematics-p.svg
{{#ifeq:{{lc:{{{nested|}}}}}|yes|
+
|IMAGE_LEFT_LARGE  = 60px
! colspan = "5" style="text-align: center" {{!}} [[Wikipedia:WikiProject Mathematics|WikiProject&nbsp;Mathematics]]{{#if:{{{class|}}} | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Rated&nbsp;{{ucfirst:{{{class}}}}}-Class)|}}
+
|QUALITY_SCALE      = subpage
}}
+
|class = {{{class|}}}
|-
+
|priority = {{{priority|{{{importance|}}}}}}
| colspan = "6" align=center style="border-bottom: 1pt solid #c0c090; padding: 4pt;"|[[Image:Nuvola apps edu mathematics-p.svg|{{#ifeq:{{{small|}}}|yes|30px|35px}}|left|WikiProject Mathematics]] This article is within the scope of '''''[[Wikipedia:WikiProject Mathematics|WikiProject{{#ifeq:{{{small|}}}|yes|&#032;|&nbsp;}}Mathematics]]''''', which collaborates on articles related to [[mathematics]].
+
|ASSESSMENT_CAT      = mathematics articles
|-
+
|ASSESSMENT_LINK    = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Assessment
| style="padding:5px 5px;" width=130 {{#ifeq:{{{small|}}}|yes|colspan=6 align="center"| }} |[[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Assessment|Mathematics{{#ifeq:{{{small|}}}|yes| &#32; |&nbsp;}}rating]]{{#ifeq:{{{small|}}}|yes||&#58;}}{{#ifeq:{{{small|}}}|yes|&#13;
+
|MAIN_ARTICLE        = mathematics
{{!}}- |}}
+
|PORTAL              = Mathematics
| style="padding:0px 5px;" width=115 {{#if:{{{class|}}}|{{{{{class}}}-Class|category=Category:{{{class}}}-Class mathematics articles}}&nbsp;Class|{{!}}[[:Category:Unassessed quality mathematics articles|Quality&nbsp; unassessed]].}}
+
|COLLAPSED          = 1
| style="padding:0px 5px;" width=145 {{#if:{{{importance|}}}|{{#ifeq:{{{importance}}}|NA|{{NA-Class}}|{{{{{importance}}}-Class|category=Category:{{{importance}}}-Priority mathematics articles}} Priority}}|{{#if:{{{priority|}}}|{{#ifeq:{{{priority}}}|NA|{{NA-Class}}|{{{{{priority}}}-Class|category=Category:{{{priority}}}-Priority mathematics articles}} Priority}}|{{!}}[[:Category:Unassessed importance mathematics articles|Importance&nbsp;unassessed]].}}}}<!--
+
|COLLAPSED_HEAD      = Additional information:
-->{{#ifeq:{{{small|}}}|yes|&#13;
+
|note 1 = {{{vital|}}}
{{!}}- |}}
+
|NOTE_1_TEXT        = This is a [[Wikipedia:Vital articles|vital article]].
| style="padding:0px 5px;" {{#ifeq:{{{small|}}}|yes|colspan=2|}}{{!}}<!--
+
|NOTE_1_IMAGE      = Emblem-Exclamation mark curve.svg
-->{{#if:{{{field|}}}|&nbsp;'''Field''': {{#switch:{{{field}}}
+
|NOTE_1_CAT        = Vital mathematics articles
|basics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Basics|Basics]]
+
|note 2={{{portal|}}}
|Basics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Basics|Basics]]
+
|NOTE_2_TEXT        = This was a [[Portal:Mathematics/Selected article archive|selected article]] on the [[Portal:Mathematics|Mathematics Portal]].
|analysis=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Analysis|Analysis]]
+
|NOTE_2_IMAGE      = Portal.svg
|Analysis=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Analysis|Analysis]]
+
|NOTE_2_CAT        = Featured articles on Mathematics Portal
|algebra=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Algebra|Algebra]]
+
|note 3={{{shortcut|}}}
|Algebra=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Algebra|Algebra]]
+
|NOTE_3_TEXT        = '''Shortcut:''' [[{{{shortcut}}}]]
|applied=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Applied mathematics|Applied mathematics]]
+
|NOTE_3_IMAGE      = Double arrow blue.png
|Applied=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Applied mathematics|Applied mathematics]]
+
}}<noinclude>
|applied mathematics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Applied mathematics|Applied mathematics]]
+
{{documentation}}
|Applied mathematics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Applied mathematics|Applied mathematics]]
+
</noinclude>
|discrete=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Discrete mathematics|Discrete mathematics]]
 
|Discrete=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Discrete mathematics|Discrete mathematics]]
 
|foundations=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Foundations, logic, and set theory|Foundations, logic, and set theory]]
 
|Foundations=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Foundations, logic, and set theory|Foundations, logic, and set theory]]
 
|general=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/General|General]]
 
|General=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/General|General]]
 
|geometry=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Geometry|Geometry]]
 
|Geometry=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Geometry|Geometry]]
 
|history=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/General|History of mathematics]]
 
|History=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/General|History of mathematics]]
 
|mathematical physics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematical physics|Mathematical physics]]
 
|Mathematical physics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematical physics|Mathematical physics]]
 
|mathematician=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematicians|Mathematicians]]
 
|Mathematician=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematicians|Mathematicians]]
 
|mathematicians=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematicians|Mathematicians]]
 
|Mathematicians=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematicians|Mathematicians]]
 
|number theory=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Number theory|Number theory]]
 
|Number theory=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Number theory|Number theory]]
 
|probability=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]
 
|Probability=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]
 
|probability and statistics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]
 
|Probability and statistics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]
 
|statistics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]
 
|Statistics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]
 
|topology=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Topology|Topology]]
 
|Topology=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Topology|Topology]]
 
|([[:Category:Unassessed field mathematics articles|Unknown field]]) [[Category:Unassessed field mathematics articles|{{PAGENAME}}]][[Category:Unassessed mathematics articles|{{PAGENAME}}]]
 
}}{{#if:{{{historical|}}}|&nbsp;([[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/History|historical]])}}| [[:Category:Unassessed field mathematics articles|Field&nbsp;unassessed]].<includeonly>[[Category:Unassessed field mathematics articles|{{PAGENAME}}]][[Category:Unassessed mathematics articles|{{PAGENAME}}]]</includeonly>}}<!--
 
-->{{#if:{{{vital|}}}|&#13;
 
{{!}}-
 
{{!}}colspan="6" align="center" style="border-top: 1pt solid #c0c090; padding-top: 2pt;"{{!}}'''A [[Wikipedia:Vital articles|vital article]]'''}}<!--
 
-->{{#if:{{{comment|}}}|&#13;
 
{{!}}-
 
{{!}}colspan="6" style="border-top: 1pt solid #c0c090; padding-top: 2pt; padding-left: 4pt;"{{!}}'''Inline comments are deprecated. Please migrate them to the Comments subpage.'''}}<!--
 
-->{{#if:{{{comments|}}}|&#13;
 
{{!}}-
 
{{!}}colspan="6" style="border-top: 1pt solid #c0c090; padding-top: 2pt; padding-left: 4pt;"{{!}}'''Inline comments are deprecated. Please migrate them to the Comments subpage.'''}}
 
{{!}}-
 
{{#ifexist:{{FULLPAGENAME}}/Comments|
 
{{!}} colspan="6" style="padding: 0px;" {{!}}
 
{{{!}} class="{{#ifeq:{{{nested|}}}|yes||collapsible collapsed}}" style="width: 100%; background: transparent;"
 
{{!}}-
 
! colspan="6" style="border-top: 1pt solid #c0c090; padding-top: 2pt; padding-left: 4pt;text-align: left;font-weight:normal;"{{!}}''Please update this rating as the article progresses, or if the rating is inaccurate.'' {{#ifeq:{{lc:{{{nested|}}}}}|yes||''Click to show/hide comments.''}}
 
{{!}}-
 
{{!}} colspan="6" style="padding-left: 4pt;"{{!}}<div class="plainlinks">''Please [{{fullurl:{{FULLPAGENAME}}/Comments|action=edit}} add to or update] the comments to suggest improvements to the article.''</div>
 
{{!}}-
 
{{!}} colspan="6" {{!}} <div style="font-weight:normal; background:#FFEFDF; padding:5px; margin: 5px; border: 1px dotted black; text-align:left; font-size: 85%;"> {{{{FULLPAGENAME}}/Comments}}</div>
 
{{!}}}|
 
{{!}} colspan="6" style="border-top: 1pt solid #c0c090; padding-top: 2pt; padding-left: 4pt;"{{!}} ''Please update this rating as the article progresses, or if the rating is inaccurate.'' <includeonly>''Please also [[{{FULLPAGENAME}}/Comments|add comments]] to suggest improvements to the article.''</includeonly>}}<!--
 
-->{{#if:{{{ACD|}}}|&#13;
 
{{!}}-
 
{{!}}colspan="5" align="center" style="border-top: 1pt solid #c0c090; padding: 4pt; "{{!}}  [[Image:MO-supp-A.svg|32px|left]] A [[Wikipedia:WikiProject Mathematics/A-class rating/{{PAGENAME}}|discussion]] on promoting this article to [[Wikipedia:WikiProject Mathematics/A-class rating|A-class status]] or reviewing this status is underway.  Please give your opinion.}}
 
|}<noinclude><!-- End of display part of template; continue with documentation -->
 
{{Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Maths_rating}}
 
 
 
==Summary and assessment criteria==
 
 
 
{{Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Assessment}}
 
 
 
<br clear="both"/>
 
A more extensive discussion on grading criteria can be found at [[Wikipedia:Version 1.0 Editorial Team/Assessment|WP 1.0 Assessment]].
 
 
 
==See also==
 
*[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]
 
*[[Wikipedia:WikiProject Mathematics/Wikipedia 1.0|Main mathematics assessment page]]
 
 
 
[[Category:WikiProject banners|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
[[Category:WikiProject Mathematics|{{PAGENAME}}]]
 
[[Category:Wikipedia rating templates|{{PAGENAME}}]]
 
[[Category:Mathematics templates|{{PAGENAME}}]]
 
</noinclude><includeonly><!-- End of documentatation. Finish with second part of template: assigning categories to articles
 
-->{{#switch:{{{class}}}
 
|FA=[[Category:FA-Class mathematics articles|{{PAGENAME}}]]
 
|A=[[Category:A-Class mathematics articles|{{PAGENAME}}]]
 
|GA=[[Category:GA-Class mathematics articles|{{PAGENAME}}]]
 
|Bplus=[[Category:Bplus-Class mathematics articles|{{PAGENAME}}]][[Category:GA-Class mathematics articles|{{PAGENAME}}]]
 
|B=[[Category:B-Class mathematics articles|{{PAGENAME}}]]
 
|Start|start=[[Category:Start-Class mathematics articles|{{PAGENAME}}]]
 
|Stub|stub=[[Category:Stub-Class mathematics articles|{{PAGENAME}}]]
 
|Dab=[[Category:Disambig-Class mathematics articles|{{PAGENAME}}]]
 
|Template=[[Category:Template-Class mathematics articles|{{PAGENAME}}]]
 
|Cat=[[Category:Category-Class mathematics articles|{{PAGENAME}}]]
 
|Image|image=[[Category:Image-Class mathematics articles|{{PAGENAME}}]]
 
|[[Category:Unassessed quality mathematics articles|{{PAGENAME}}]][[Category:Unassessed mathematics articles|{{PAGENAME}}]]
 
}}{{#switch:{{#if:{{{priority|}}}|{{{priority}}}|{{{importance}}}}}
 
|Top|top=[[Category:Top-Priority mathematics articles|{{PAGENAME}}]]
 
|High|high=[[Category:High-Priority mathematics articles|{{PAGENAME}}]]
 
|Mid|mid=[[Category:Mid-Priority mathematics articles|{{PAGENAME}}]]
 
|Low|low=[[Category:Low-Priority mathematics articles|{{PAGENAME}}]]
 
|NA|na=
 
|[[Category:Unassessed importance mathematics articles|{{PAGENAME}}]][[Category:Unassessed mathematics articles|{{PAGENAME}}]]
 
}}<!--
 
-->{{#if:{{{vital|}}}|[[Category:Vital mathematics articles|{{PAGENAME}}]]}}<!--
 
-->{{#if:{{{historical|}}}|[[Category:History of subject mathematics articles|{{PAGENAME}}]]}}<!--
 
-->{{#if:{{{comment|}}}|[[Category:Mathematics articles with inline comments|{{PAGENAME}}]]}}{{#if:{{{comments|}}}|[[Category:Mathematics articles with inline comments|{{PAGENAME}}]]}}{{#ifexist:{{FULLPAGENAME}}/Comments||{{#if:{{{comment|}}}||{{#if:{{{comments|}}}||[[Category:Mathematics articles with no comments|{{PAGENAME}}]]}}}}}}</includeonly>
 

Latest revision as of 22:28, 2 November 2020

Template:WPBannerMeta

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to categorize and assess articles within WikiProject Mathematics. To classify an article, place the template {{maths rating}} on the article's talk page and fill in the class and priority parameters.

Please do not simply add this template without filling in the parameters. The purpose of this template is to carry article assessment data.

Anyone can add a maths rating or change an existing rating. These parameters will place the article in the appropriate subcategories of Category:Mathematics articles by priority and Category:Mathematics articles by quality.

Syntax overview

When using the maths rating template, please set each of the three following parameters:

  • Class: choose one: FA, FL, GA, A, B, C, Start, Stub, List, e.g. |class=B
  • Priority: choose one: Top, High, Mid, Low, e.g. |priority=high

The following parameters are also available. In general, if you don't know what they mean then you don't need them.

  • |vital=Y for an article that is in the Vital articles collection.
  • |portal=Y for an article that is a selected article on Portal:Mathematics.
  • |category=no if the template is being used as a demonstration and you do not want the page it is on to be added to any categories.

Standard template syntax

{{maths rating
| class=            <!--FA, FL, GA, A, B, Start, Stub, List-->
| priority =        <!--Top, High, Mid, Low-->
<!--optional or special purpose-->
| vital=            <!--set to Y for articles that are in the Vital articles collection; be sure of consensus before setting-->
| portal=           <!--set to Y to place the article in Category:Featured articles on Mathematics Portal-->
| category=         <!--set to "no" to prevent the template from adding categories to a page-->
}}

Syntax details

The main purpose of this template is to show the classifications of articles on their talk pages, as well as to place talk pages in the appropriate categories. Only the first three parameters are required for this. However, other flags can be used to show additional information and categorize the page further.

The template also supports a importance parameter which functions identically to priority except for where the template displays the word 'priority' it will instead say 'importance.' Beyond that, there is no reason to use one over the other and no reason to use both together. If they are both used, the importance parameter will be ignored. If the priority parameter is set to blank - if |priority= appears with no argument - then the code considers this a use of priority and ignores importance, except when assigning categories.

See also