imported>Salix alba |
imported>MSGJ |
| (7 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| − | | + | {{WPBannerMeta |
| − | <!---!! NOTE TO EDITORS !!
| + | |PROJECT = Mathematics |
| − | | + | |BANNER_NAME = Template:Maths rating |
| − | Please do not make any nontrivial changes to this template without proposing them at WT:WPM first. This template itself is not watched by many editors. Changes to the way that article ratings are classified requires making changes to VeblenBot so that the summary tables are generated correctly.
| + | |substcheck = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> |
| − | | + | |category = {{{category|}}} |
| − | Begin first part of template: displaying the information about the article
| + | |listas = {{{listas|}}} |
| − | --><table class="tmbox tmbox-notice collapsible innercollapse wpb {{#ifeq:{{{small|}}}|yes|mbox-small}}">
| + | |IMAGE_LEFT = Nuvola apps edu mathematics-p.svg |
| − | <tr class="wpb-header" style="border-right: 1px solid #c0c090;">
| + | |IMAGE_LEFT_LARGE = 60px |
| − | {{#if:{{{class|}}}{{{priority|}}}{{{importance|}}}
| + | |QUALITY_SCALE = subpage |
| − | | <!-- then -->
| + | |class = {{{class|}}} |
| − | <td class="mbox-text" style="text-align:right; padding: 0.3em 1em 0.3em 0.3em; width:50%; font-weight:bold;">[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]</td>
| + | |priority = {{{priority|{{{importance|}}}}}} |
| − | <th class="mbox-text" style="width:50%; text-align:left; padding: 0.3em 0.3em 0.3em 0; border-right: 1px solid #c0c090;">{{#if:{{{class|}}} {{{priority|}}} {{{importance|}}} | (Rated }}<!-- | + | |ASSESSMENT_CAT = mathematics articles |
| − | -->{{#if:{{{class|}}}
| + | |ASSESSMENT_LINK = Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Assessment |
| − | |{{#ifeq:{{{class}}}|{{padleft:{{{class}}}|3}}|{{ucfirst:{{lc:{{{class}}} }} }}|{{uc:{{{class}}} }} }}-class}}<!--
| + | |MAIN_ARTICLE = mathematics |
| − | -->{{#if:{{{class|}}} |{{#if:{{{priority|}}} {{{importance|}}} |, }}}}<!--
| + | |PORTAL = Mathematics |
| − | -->{{#if:{{{priority|}}} |{{#ifeq:{{uc:{{{priority}}} }}|NA|NA|{{ucfirst:{{lc:{{{priority}}} }} }}}}-priority|{{#if:{{{importance|}}} |{{#ifeq:{{uc:{{{importance}}} }}|NA|NA|{{ucfirst:{{lc:{{{importance}}} }} }}}}-importance}} }}<!--
| + | |COLLAPSED = 1 |
| − | -->{{#if:{{{class|}}} {{{priority|}}} {{{importance|}}}|)}}</th>
| + | |COLLAPSED_HEAD = Additional information: |
| − | | <!-- else -->
| + | |note 1 = {{{vital|}}} |
| − | <td class="mbox-empty-cell"></td> | + | |NOTE_1_TEXT = This is a [[Wikipedia:Vital articles|vital article]]. |
| − | <th class="mbox-text" style="width:100%; padding: 0.3em;">[[Wikipedia:WikiProject Mathematics|WikiProject Mathematics]]</th>
| + | |NOTE_1_IMAGE = Emblem-Exclamation mark curve.svg |
| − | }} <!-- endif -->
| + | |NOTE_1_CAT = Vital mathematics articles |
| − | </tr>
| + | |note 2={{{portal|}}} |
| − | <tr>
| + | |NOTE_2_TEXT = This was a [[Portal:Mathematics/Selected article archive|selected article]] on the [[Portal:Mathematics|Mathematics Portal]]. |
| − | <td class="mbox-text" style="padding: 0 0 0 0;" colspan="2"> <!-- start of inner table -->
| + | |NOTE_2_IMAGE = Portal.svg |
| − | <table class="tmbox" style="padding:0; width:100%; margin:0 0 0 0; background:transparent; border:none;" cellspacing="0">
| + | |NOTE_2_CAT = Featured articles on Mathematics Portal |
| − | <tr>
| + | |note 3={{{shortcut|}}} |
| − | <td colspan="{{#ifeq:{{{small|}}}|yes|2|5}}" class="mbox-text"> <!--
| + | |NOTE_3_TEXT = '''Shortcut:''' [[{{{shortcut}}}]] |
| − | -->[[Image:Nuvola apps edu mathematics-p.svg|{{#ifeq:{{{small|}}}|yes|30px|35px}}|left|WikiProject Mathematics]] <!--
| + | |NOTE_3_IMAGE = Double arrow blue.png |
| − | -->{{#ifeq:{{{small|}}}|yes||{{portal|Mathematics}}}} This {{pagetype|{{{class|}}}}} is within the scope of '''[[Wikipedia:WikiProject Mathematics|WikiProject{{#ifeq:{{{small|}}}|yes| | }}Mathematics]]''', a collaborative effort to improve the coverage of [[Mathematics]] on Wikipedia. If you would like to participate, please visit the [[Wikipedia:WikiProject Mathematics|project page]], where you can join the [[Wikipedia talk:WikiProject Mathematics|discussion]] and see a list of open tasks.</td> | + | }}<noinclude> |
| − | </tr>
| + | {{documentation}} |
| − | <tr style="border-top:1px solid #c0c090;">
| |
| − | <td class="mbox-text" {{#ifeq:{{{small|}}}|yes|style="text-align:center;" colspan="2"|style="width:25%;"}}> <!-- | |
| − | -->[[Wikipedia:WikiProject Mathematics/Wikipedia 1.0/Assessment|Mathematics{{#ifeq:{{{small|}}}|yes| <!--&sp;-->| }}rating]]<!-- | |
| − | -->{{#ifeq:{{{small|}}}|yes||:<!--:-->}}</td>
| |
| − | {{#ifeq:{{{small|}}}|yes|</tr><tr>}}
| |
| − | <td class="mbox-text" style="width:{{#ifeq:{{{small|}}}|yes|50|20}}%;text-align:center; padding:0;">
| |
| − | {{#if:{{{class|}}}|<!-- then -->{{{!}} style="width:100%; padding:0;" cellspacing="0" <!-- Old table necessary for *-Class template -->
| |
| − | {{!}}{{{{#ifeq:{{{class}}}|{{padleft:{{{class}}}|3}}|{{ucfirst:{{lc:{{{class}}} }} }}|{{uc:{{{class}}} }}}}-Class|category=Category:{{#ifeq:{{{class}}}|{{padleft:{{{class}}}|3}}|{{ucfirst:{{lc:{{{class}}} }} }}|{{uc:{{{class}}} }}}}-Class mathematics articles|class=mbox-text|style=width:100%;}} Class
| |
| − | {{!}}}<!--End old table-->|<!-- else
| |
| − | -->[[:Category:Unassessed mathematics articles|Quality unassessed]]<!--
| |
| − | -->}}<!-- endif --></td>
| |
| − | <td class="mbox-text" style="width:{{#ifeq:{{{small|}}}|yes|50|20}}%; text-align:center; padding:0;"> | |
| − | {{#if:{{{priority|{{{importance|}}} }}}|<!-- then -->{{{!}} style="width:100%; padding:0;" cellspacing="0" <!-- Old table again -->
| |
| − | {{!}}{{#ifeq:{{uc:{{{priority|{{{importance}}} }}} }}|NA|<!-- then
| |
| − | -->{{NA-Class|class=mbox-text|style=width:100%;|category=Category:NA-Priority mathematics pages}} {{#if:{{{priority|}}}|Priority|Importance}}<!--
| |
| − | -->|<!-- else
| |
| − | -->{{{{ucfirst:{{lc:{{{priority|{{{importance}}} }}} }} }}-importance|category=Category:{{ucfirst:{{lc:{{{priority|{{{importance}}} }}} }} }}-Priority mathematics articles|class=mbox-text|style=width:100%;}} {{#if:{{{priority|}}}|Priority|Importance}}<!--
| |
| − | -->}}<!-- endif -->
| |
| − | {{!}}} <!-- second old table ends -->
| |
| − | |<!-- else
| |
| − | -->[[:Category: Unassessed-Priority mathematics articles|Priority unassessed]]<!--
| |
| − | -->}}<!-- endif --></td>
| |
| − | {{#ifeq:{{{small|}}}|yes|</tr><tr>}}
| |
| − | <td class="mbox-text" {{#ifeq:{{{small|}}}|yes|style="text-align:center; padding:0;" colspan="2"|style="text-align:right; width:5%; padding:0;"}}> '''Field''': {{#ifeq:{{{small|}}}|yes||</td><td style="text-align:left; width:auto"> }}<!--
| |
| − | -->{{#if:{{{field|}}}|<!--then-->{{#switch:{{lc:{{{field}}} }}
| |
| − | |basics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Basics|Basics]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to basic mathematics]]}}
| |
| − | |applied=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Applied mathematics|Applied mathematics]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to applied mathematics]]}}
| |
| − | |discrete=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Discrete mathematics|Discrete mathematics]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to discrete mathematics]]}} | |
| − | |foundations|logic|set theory=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Foundations, logic, and set theory|Foundations, logic, and set theory]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to foundations, logic, and set theory]]}} | |
| − | |general=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/General|General]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to general mathematics]]}} | |
| − | |history=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/History|History of mathematics]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to history of mathematics]]}} | |
| − | |mathematician=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Mathematicians|Mathematicians]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to mathematicians]]}} | |
| − | |probability|statistics=[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/Probability and statistics|Probability and statistics]]{{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to probability and statistics]]}}<!-- | |
| − | The following section deals with fields with the form that has a category and WPM/WP1.0 article of the associated name, such as:
| |
| − | analysis; algebra; applied mathematics; discrete mathematics; geometry; foundations, logic, and set theory; mathematical physics; mathematicians; number theory; probability and statistics; topology-->
| |
| − | |{{#ifexist:Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/{{ucfirst:{{lc:{{{field|}}} }} }}|{{#ifexist:Category:Mathematics articles related to {{lc:{{{field|}}} }}|[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/{{ucfirst:{{lc:{{{field|}}} }} }}|{{ucfirst:{{lc:{{{field|}}} }} }}]] {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to {{lc:{{{field|}}} }}]]}}|([[:Category:Unassessed field mathematics articles|Unknown field]]) {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Unassessed field mathematics articles]]}}}}|([[:Category:Unassessed field mathematics articles|Unknown field]]) {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Unassessed field mathematics articles]]}}}}<!--end of default case-->
| |
| − | }}<!--end switch--><!-- The following deals with the history flag and unassessed articles.--><!--
| |
| − | -->{{#if:{{{historical|}}}| ([[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/History|historical]]){{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to history of mathematics]]}}}}<!--
| |
| − | -->|<!--else
| |
| − | -->{{#if:{{{historical|}}}|<!--then
| |
| − | -->[[Wikipedia:WikiProject_Mathematics/Wikipedia_1.0/History|History of mathematics]]{{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Mathematics articles related to history of mathematics]]}}<!--
| |
| − | -->|<!--else
| |
| − | -->[[:Category:Unassessed field mathematics articles|Unassessed]]<includeonly>{{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Unassessed field mathematics articles]]}}</includeonly><!--
| |
| − | -->}} <!--endif
| |
| − | -->}}<!--endif--></td>
| |
| − | </tr>
| |
| − | <includeonly>{{#ifeq:{{#if:{{{class|}}}|c}}{{#if:{{{priority|{{{importance|}}}}}}|p}}{{#if:{{{field|{{{historical|}}}}}}|f}}|cpf||
| |
| − | <tr style="text-align:center; border-top:1px solid #c0c090;">
| |
| − | <td colspan="{{#ifeq:{{{small|}}}|yes|2|5}}" class="mbox-text">The [[Wikipedia:WikiProject_Mathematics/Wikipedia 1.0/Assessment|assessment information]] for this article is not complete. Anyone can add information about the [[Wikipedia:WikiProject_Mathematics/Wikipedia 1.0/Grading scheme|quality]], [[Wikipedia:WikiProject_Mathematics/Wikipedia 1.0/Importance|significance]], or [[Wikipedia:WikiProject_Mathematics/Wikipedia 1.0/Fields|subject area]] of an article.</td>
| |
| − | </tr>
| |
| − | }}</includeonly>
| |
| − | {{#if:{{{vital|}}}|
| |
| − | <tr style="text-align:center; border-top:1px solid #c0c090;">
| |
| − | <td class="mbox-text" colspan="{{#ifeq:{{{small|}}}|yes|2|5}}"> '''A [[Wikipedia:Vital articles|vital article]].'''</td>
| |
| − | </tr>
| |
| − | }}
| |
| − | {{#ifeq:{{{frequentlyviewed|}}}|yes|
| |
| − | <tr style="text-align:center; border-top:1px solid #c0c090;">
| |
| − | <td class="mbox-text" colspan="{{#ifeq:{{{small|}}}|yes|2|5}}"> One of the [[Wikipedia:WikiProject_Mathematics/Popular_pages|500 most frequently viewed]] mathematics articles.</td>
| |
| − | </tr>
| |
| − | {{#ifeq:{{lc:{{{category|}}} }}|no||[[Category:Frequently viewed mathematics articles]]}}
| |
| − | }}
| |
| − | {{#if:{{{portal|}}}|
| |
| − | <tr style="text-align:center; border-top:1px solid #c0c090;">
| |
| − | <td class="mbox-text" colspan="{{#ifeq:{{{small|}}}|yes|2|5}}"> A [[Portal:Mathematics/Selected article archive|selected article]] on the [[Portal:Mathematics|Mathematics Portal]].</td>
| |
| − | </tr>
| |
| − | }}
| |
| − | <!------------------- start of article grading comments section ------------------->
| |
| − | {{#if:{{{ACD|}}}|
| |
| − | <tr style="text-align:center; border-top:1px solid #c0c090;">
| |
| − | <td colspan="{{#ifeq:{{{small|}}}|yes|2|5}}" class="mbox-text"> [[File:A_candidate.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.</td>
| |
| − | </tr>
| |
| − | }}<includeonly>
| |
| − | {{#ifeq:{{lc:{{NAMESPACE}} }}|talk|| {{#ifeq:{{lc:{{{category|}}} }}|no||
| |
| − | <tr style="text-align:center; border-top:1px solid #c0c090;">
| |
| − | <td colspan="{{#ifeq:{{{small|}}}|yes|2|5}}" class="mbox-text" style="font-weight:bold;"><span style="color:red;">This template is not placed in the article talk namespace.</span><br />The {{tl|maths rating}} template is only meant to be used for articles on their talk pages; the {{tl|maths banner}} is an alternative for other pages. If this template is being used as an example or demonstration, please add the <samp><nowiki>|category=no</nowiki></samp> parameter.</td>
| |
| − | </tr>
| |
| − | }} }}</includeonly>
| |
| − | </table> <!-- end of inner table -->
| |
| − | </td></tr></table><!-- end of outer table
| |
| − | --><includeonly><!--
| |
| − | End of display part of template; next is second part of template: assigning categories to articles
| |
| − | -->{{#ifeq:{{lc:{{{category|}}} }}|no||{{#switch:{{lc:{{{class}}}}} <!--If category != no then include categories-->
| |
| − | |fa=[[Category:FA-Class mathematics articles]] | |
| − | |fl=[[Category:FL-Class mathematics articles]]
| |
| − | |a=[[Category:A-Class mathematics articles]]
| |
| − | |ga=[[Category:GA-Class mathematics articles]]
| |
| − | |b=[[Category:B-Class mathematics articles]]
| |
| − | |c=[[Category:C-Class mathematics articles]]
| |
| − | |start=[[Category:Start-Class mathematics articles]]
| |
| − | |stub=[[Category:Stub-Class mathematics articles]]
| |
| − | |list=[[Category:List-Class mathematics articles]]
| |
| − | |[[Category:Unassessed mathematics articles]]
| |
| − | }}{{#switch:{{lc:{{#if:{{{priority|}}}|{{{priority}}}|{{{importance}}}}}}}
| |
| − | |top=[[Category:Top-Priority mathematics articles]]
| |
| − | |high=[[Category:High-Priority mathematics articles]] | |
| − | |mid=[[Category:Mid-Priority mathematics articles]]
| |
| − | |low=[[Category:Low-Priority mathematics articles]]
| |
| − | |na=[[Category:NA-Priority mathematics pages]]
| |
| − | |[[Category:Unassessed-Priority mathematics articles]]
| |
| − | }}<!--
| |
| − | -->{{#if:{{{vital|}}}|[[Category:Vital mathematics articles]]}}<!--
| |
| − | -->{{#if:{{{portal|}}}|[[Category:Featured articles on Mathematics Portal]]}}<!--
| |
| − | -->{{#if:{{{historical|}}}|[[Category:History of subject mathematics articles]]}}}}<!--
| |
| − | --></includeonly><!--
| |
| − | End of categories part of template; finish with third part of template: making assessment metadata available through the PageAssessments API.
| |
| − | --><includeonly>{{#assessment:Mathematics|{{ucfirst:{{{class|}}}}}|{{ucfirst:{{{priority|{{{importance|}}}}}}}}}}</includeonly><noinclude>
| |
| − | {{Documentation}} | |
| | </noinclude> | | </noinclude> |