Difference between revisions of "Template:Maths rating"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(add portal note, missed during conversion)
imported>MSGJ
(remove fields and a-class rating which have been marked historical for many years, also remove "most frequently viewed" as it is not updated now)
Line 3: Line 3:
 
  |BANNER_NAME        = Template:Maths rating
 
  |BANNER_NAME        = Template:Maths rating
 
  |substcheck = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
  |substcheck = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
|small = {{{small|}}}
 
 
  |category = {{{category|}}}
 
  |category = {{{category|}}}
 
  |listas = {{{listas|}}}
 
  |listas = {{{listas|}}}
Line 14: Line 13:
 
|MAIN_ARTICLE        = mathematics
 
|MAIN_ARTICLE        = mathematics
 
|PORTAL              = Mathematics
 
|PORTAL              = Mathematics
|tf 1={{{physics|{{#switch:{{lc:{{{field}}}}}|physics|mathematical physics=yes}}}}}
 
|TF_1_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Mathematical physics
 
|TF_1_NAME          = Mathematical physics
 
|TF_1_NESTED        = Physics
 
|TF_1_IMAGE        = Amplitud modulada.jpg
 
|TF_1_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Mathematical physics|mathematical physics]].
 
|TF_1_MAIN_CAT      = Mathematics articles related to mathematical physics
 
|tf 2={{{topology|{{#ifeq:{{lc:{{{field}}}}}|topology|yes}}}}}
 
|TF_2_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Topology
 
|TF_2_NAME          = Topology
 
|TF_2_NESTED        = Topology
 
|TF_2_IMAGE        = KleinBottle-01.png
 
|TF_2_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Topology|topology]].
 
|TF_2_MAIN_CAT      = Mathematics articles related to topology
 
|tf 3={{{history|{{#ifeq:{{lc:{{{field}}}}}|history|yes}}}}}
 
|TF_3_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/History
 
|TF_3_NAME          = History
 
|TF_3_NESTED        = History
 
|TF_3_IMAGE        = Open book nae 02.svg
 
|TF_3_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/History|history of mathematics]].
 
|TF_3_MAIN_CAT      = Mathematics articles related to history of mathematics
 
|tf 4={{{mathematician|{{#switch:{{lc:{{{field}}}}}|mathematician|mathematicians=yes}}}}}
 
|TF_4_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Mathematicians
 
|TF_4_NAME          = Mathematicians
 
|TF_4_NESTED        = Mathematicians
 
|TF_4_IMAGE        = Blaise pascal.jpg
 
|TF_4_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Mathematicians|mathematicians]].
 
|TF_4_MAIN_CAT      = Mathematics articles related to mathematicians
 
|HOOK_TF = {{WPBannerMeta/hooks/taskforces
 
|category={{{category|}}}
 
|PROJECT            = Mathematics
 
|BANNER_NAME        = Template:Maths rating
 
|tf 1={{{geometry|{{#ifeq:{{lc:{{{field}}}}}|geometry|yes}}}}}
 
|TF_1_NAME          = Geometry
 
|TF_1_IMAGE        = POV-Ray-Dodecahedron.svg
 
|TF_1_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Geometry|geometry]].
 
|TF_1_MAIN_CAT      = Mathematics articles related to geometry
 
|tf 2={{{general|{{#ifeq:{{lc:{{{field}}}}}|general|yes}}}}}
 
|TF_2_NAME          = General
 
|TF_2_IMAGE        = e-to-the-i-pi.svg
 
|TF_2_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/General|general mathematics]].
 
|TF_2_MAIN_CAT      = Mathematics articles related to general mathematics
 
|tf 3={{{basics|{{#ifeq:{{lc:{{{field}}}}}|basics|yes}}}}}
 
|TF_3_NAME          = Basics
 
|TF_3_IMAGE        = Arithmetic symbols.svg
 
|TF_3_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Basics|basic mathematics]].
 
|TF_3_MAIN_CAT      = Mathematics articles related to basic mathematics
 
|tf 4={{{analysis|{{#ifeq:{{lc:{{{field}}}}}|analysis|yes}}}}}
 
|TF_4_NAME          = Analysis
 
|TF_4_IMAGE        = Lebesgue Icon.svg
 
|TF_4_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Analysis|analysis]].
 
|TF_4_MAIN_CAT      = Mathematics articles related to analysis
 
|tf 5={{{algebra|{{#ifeq:{{lc:{{{field}}}}}|algebra|yes}}}}}
 
|TF_5_NAME          = Algebra
 
|TF_5_IMAGE        = Tangent to a curve.svg
 
|TF_5_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Algebra|algebra]].
 
|TF_5_MAIN_CAT      = Mathematics articles related to algebra
 
|tf 6={{{applied|{{#switch:{{lc:{{{field}}}}}|applied|applied mathematics=yes}}}}}
 
|TF_6_NAME          = Applied mathematics
 
|TF_6_IMAGE        = 0 Ressort conique.svg
 
|TF_6_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Applied mathematics|applied mathematics]].
 
|TF_6_MAIN_CAT      = Mathematics articles related to applied mathematics
 
|tf 7={{{statistics|{{#switch:{{lc:{{{field}}}}}|probability|statistics|probability and statistics=yes}}}}}
 
|TF_7_NAME          = Probability and statistics
 
|TF_7_IMAGE        = Bellcurve.svg
 
|TF_7_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Probability and statistics|probability and statistics]].
 
|TF_7_MAIN_CAT      = Mathematics articles related to probability and statistics
 
|tf 8={{{number|{{#switch:{{lc:{{{field}}}}}|number|number theory=yes}}}}}
 
|TF_8_NAME          = Number theory
 
|TF_8_IMAGE        = Number.svg
 
|TF_8_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Number theory|number theory]].
 
|TF_8_MAIN_CAT      = Mathematics articles related to number theory
 
|tf 9={{{discrete|{{#switch:{{lc:{{{field}}}}}|discrete|discrete mathematics=yes}}}}}
 
|TF_9_NAME          = Discrete mathematics
 
|TF_9_IMAGE        = 6n-graf.svg
 
|TF_9_TEXT          = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Discrete mathematics|discrete mathematics]].
 
|TF_9_MAIN_CAT      = Mathematics articles related to discrete mathematics
 
|tf 10={{{foundations|{{#switch:{{lc:{{{field}}}}}|foundations|foundations, logic, and set theory=yes}}}}}
 
|TF_10_NAME        = Foundations, logic, and set theory
 
|TF_10_IMAGE        = CardContin.svg
 
|TF_10_TEXT        = This article is within the field of [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Foundations, logic, and set theory|foundations, logic, and set theory]].
 
|TF_10_MAIN_CAT    = Mathematics articles related to foundations, logic, and set theory
 
}}
 
 
|COLLAPSED          = 1
 
|COLLAPSED          = 1
 
|COLLAPSED_HEAD      = Additional information:
 
|COLLAPSED_HEAD      = Additional information:
|note 1 = {{#switch:{{lc:{{{field}}}}}
 
|general|basics|analysis|algebra|geometry|applied|applied mathematics|probability|statistics|probability and statistics|number|number theory|discrete|discrete mathematics|foundations|foundations, logic, and set theory|physics|mathematical physics|topology|history|mathematician|mathematicians=no
 
|{{#if:{{{physics|}}}{{{topology|}}}{{{history|}}}{{{mathematician|}}}{{{geometry|}}}{{{general|}}}{{{basics|}}}{{{analysis|}}}{{{algebra|}}}{{{applied|}}}{{{statistics|}}}{{{number|}}}{{{discrete|}}}{{{foundations|}}}|no|yes}}
 
}}
 
|HOOK_NESTED          = {{WPBannerMeta/hooks/tfnested
 
|tf 1={{{geometry|{{#ifeq:{{lc:{{{field}}}}}|geometry|yes}}}}}
 
|TF_1_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Geometry
 
|TF_1_NESTED        = Geometry
 
|tf 2={{{general|{{#ifeq:{{lc:{{{field}}}}}|general|yes}}}}}
 
|TF_2_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/General
 
|TF_2_NESTED        = General
 
|tf 3={{{basics|{{#ifeq:{{lc:{{{field}}}}}|basics|yes}}}}}
 
|TF_3_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Basics
 
|TF_3_NESTED        = Basics
 
|tf 4={{{analysis|{{#ifeq:{{lc:{{{field}}}}}|analysis|yes}}}}}
 
|TF_4_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Analysis
 
|TF_4_NESTED        = Analysis
 
|tf 5={{{algebra|{{#ifeq:{{lc:{{{field}}}}}|algebra|yes}}}}}
 
|TF_5_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Algebra
 
|TF_5_NESTED        = Algebra
 
|tf 6={{{applied|{{#switch:{{lc:{{{field}}}}}|applied|applied mathematics=yes}}}}}
 
|TF_6_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Geometry
 
|TF_6_NESTED        = Applied
 
|tf 7={{{statistics|{{#switch:{{lc:{{{field}}}}}|probability|statistics|probability and statistics=yes}}}}}
 
|TF_7_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Probability and statistics
 
|TF_7_NESTED        = Statistics
 
|tf 8={{{number|{{#switch:{{lc:{{{field}}}}}|number|number theory=yes}}}}}
 
|TF_8_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Number theory
 
|TF_8_NESTED        = Number
 
|tf 9={{{discrete|{{#switch:{{lc:{{{field}}}}}|discrete|discrete mathematics=yes}}}}}
 
|TF_9_LINK          = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Discrete mathematics
 
|TF_9_NESTED        = Discrete
 
|tf 10={{{foundations|{{#switch:{{lc:{{{field}}}}}|foundations|foundations, logic, and set theory=yes}}}}}
 
|TF_10_LINK        = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Foundations, logic, and set theory
 
|TF_10_NESTED      = Foundations
 
}}
 
|NOTE_1_IMAGE      = Purple question mark.svg
 
|NOTE_1_TEXT        = This article's field has not been assessed, or the field is invalid.
 
|NOTE_1_CAT        = Unassessed field mathematics articles
 
 
|note 2 = {{{historical|}}}
 
|note 2 = {{{historical|}}}
 
  |NOTE_2_TEXT        = This has been identified as an [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/History|historical]] article.
 
  |NOTE_2_TEXT        = This has been identified as an [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/History|historical]] article.
 
  |NOTE_2_IMAGE      = Open book nae 02.svg
 
  |NOTE_2_IMAGE      = Open book nae 02.svg
 
  |NOTE_2_CAT        = History of subject mathematics articles
 
  |NOTE_2_CAT        = History of subject mathematics articles
|note 3 = {{{frequentlyviewed|}}}
 
|NOTE_3_TEXT        = One of the [[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Frequently viewed/List|500 most frequently viewed]] mathematics {{pagetype|{{{class|}}}}}s.
 
|NOTE_3_IMAGE      = Eyes.png
 
|NOTE_3_CAT        = Frequently viewed mathematics articles
 
 
|note 4 = {{{vital|}}}
 
|note 4 = {{{vital|}}}
 
  |NOTE_4_TEXT        = This is a [[Wikipedia:Vital articles|vital article]].
 
  |NOTE_4_TEXT        = This is a [[Wikipedia:Vital articles|vital article]].
 
  |NOTE_4_IMAGE      = Emblem-Exclamation mark curve.svg
 
  |NOTE_4_IMAGE      = Emblem-Exclamation mark curve.svg
 
  |NOTE_4_CAT        = Vital mathematics articles
 
  |NOTE_4_CAT        = Vital mathematics articles
|note 5 = {{{ACD|}}}
 
|NOTE_5_TEXT        = This article '''[[Wikipedia:WikiProject Mathematics/A-class rating/{{SUBJECTPAGENAME}}|is currently undergoing]]''' an [[Wikipedia:WikiProject Mathematics/A-class rating|A-Class review]].
 
|NOTE_5_IMAGE      = A candidate.svg
 
|NOTE_5_CAT        =
 
|NOTE_5_FORMAT      = style="background:{{classcol|A}};"
 
 
|note 6={{{portal|}}}
 
|note 6={{{portal|}}}
 
  |NOTE_6_TEXT        = This was a [[Portal:Mathematics/Selected article archive|selected article]] on the [[Portal:Mathematics|Mathematics Portal]].
 
  |NOTE_6_TEXT        = This was a [[Portal:Mathematics/Selected article archive|selected article]] on the [[Portal:Mathematics|Mathematics Portal]].

Revision as of 15:40, 29 October 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