Template:WikiProject Mathematics: Difference between revisions
add portal note, missed during conversion |
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
Module:WikiProject banner/doc
This page is a soft redirect.
This template has been replaced by Module:WikiProject banner |
This template is used on approximately 29,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
This template is used to categorize and assess articles within WikiProject Mathematics. To classify an article, place the template {{WikiProject Mathematics}} 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 this template, please set both of these parameters:
|class=
choose one of: FA, FL, GA, A, B, C, Start, Stub, List or NA. (e.g.|class=B
)|priority=
choose one of: Top, High, Mid, Low or NA. (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.
|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.|shortcut=
adds a custom wikilink within the project banner within the format "Shortcut: [[value]]"; must be a valid page name on this wiki, including the namespace if not in normal articlespace, but without the paired square brackets at both ends.
Standard template syntax
{{WikiProject Mathematics
| class = <!--FA, FL, GA, A, B, Start, Stub, List or NA-->
| priority = <!--Top, High, Mid, Low or NA-->
<!--Optional or special-purpose-->
| 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-->
| shortcut = <!--set to valid page name on this wiki to add a link to it within the banner template on this 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 causing the template to display the word 'importance' in the place that it typically displays 'priority.' Beyond that, there is no reason to use one over the other, and still even less reason to use both simultaneously. If they are both used, the |importance=
parameter will be ignored. If the |priority=
parameter is called but given no value—if |priority=
appears as it does here, with no argument—then the parser considers this a valid declaration of |priority=
to a null value and will ignore |importance=
even if it has an explicit value, except when assigning categories.
TemplateData
TemplateData for WikiProject Mathematics
This template is used to categorize and assess Wikipedia pages within WikiProject Mathematics. To classify an article, place this template on the talk page associated with the page you're assessing and fill in the 'class' and 'priority' parameters.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Assessment class | class | The Wikipedia 1.0 Assessment class to assign to this page. Set to one of: ['FA', 'FL', 'GA', 'A', 'B', 'C', 'Start', 'Stub', 'List', 'NA']
| Line | required |
Improvement priority | priority importance | This attempts to define how important this page's subject is to the overall quality of the project's topic on Wikipedia. Set to one of: ['Top', 'High', 'Mid', 'Low', 'NA']
| Line | required |
Featured on Portal | portal | This binary parameter flags the article for inclusion in the "Featured articles" category on Portal:Mathematics when set to: ['Y']
| Boolean | optional |
Auto-categorize | category | One of the primary functions of this template is to place pages that transclude it into assessment category used by the project. Defining this to a "falsy" value disables this, often desirable on documentation or testcases subpages. Set to one of: ['yes', 'no']
| Boolean | optional |
Custom SORTKEY | listas | The value of this parameter will become the page's new SORTKEY, controlling where it appears in auto-generated lists and categories. | Line | optional |
Custom link | shortcut | This allows an editor to add a custom wikilink to any page of their choosing to be displayed within this template in the format "Shortcut: [[value]]". Must be a valid pagename on this wiki, including namespace if not part of Article space.
| Page name | optional |