Template:ArticleAssessment: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template displays the quality score of an article based on WikiMalolos standards.
'''How to use this template:'''
Copy and paste the following code onto an article's Talk page and enter the scores.


Usage:
<pre>
{{ArticleAssessment
{{ArticleAssessment
|accuracy=
| accuracy =  
|sources=
| sources   =  
|context=
| context   =  
|category=
| category =  
|structure=
| structure =  
|linking=
| linking   =  
|language=
| language =  
|ai=
| ai       =  
}}
}}
</pre>
</noinclude>
</noinclude>
<!-- COMPUTE TOTAL ONCE -->
{{#vardefine:total |
{{#expr:
  {{{accuracy|0}}} +
  {{{sources|0}}} +
  {{{context|0}}} +
  {{{category|0}}} +
  {{{structure|0}}} +
  {{{linking|0}}} +
  {{{language|0}}} +
  {{{ai|0}}}
}}
}}


<div style="border:1px solid #aaa; padding:10px; background:#f9f9f9; margin:10px 0;">
<div style="border:1px solid #aaa; padding:10px; background:#f9f9f9; margin:10px 0;">
Line 52: Line 40:
|}
|}


'''Total Score:''' {{#var:total}} / 100
<!-- TOTAL -->
'''Total Score:'''  
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} / 100


<br>
<br>


<!-- STATUS -->
'''Status:'''
'''Status:'''
{{#ifexpr: {{#var:total}} >= 90
{{#ifexpr:
| ⭐ '''Featured Article'''
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} >= 90
| {{#ifexpr: {{#var:total}} >= 70
| ⭐ '''Featured Article'''
    | ✔️ '''Verified Article'''
| {{#ifexpr:
    | {{#ifexpr: {{#var:total}} >= 50
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} >= 70
        | ⚠️ '''Needs Improvement'''
| ✔️ '''Verified Article'''
        | ❌ '''Unverified / Draft'''
| {{#ifexpr:
      }}
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} >= 50
  }}
| ⚠️ '''Needs Improvement'''
| ❌ '''Unverified / Draft'''
}}
}}
}}
}}
</div>
</div>


<includeonly>
<!-- AUTO-CATEGORIES -->
[[Category:{{#ifexpr: {{#var:total}} >= 90
[[Category:{{#ifexpr:
|Featured Articles
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} >= 90
|{{#ifexpr: {{#var:total}} >= 70
|Featured Articles
    |Verified Articles
|{{#ifexpr:
    |{{#ifexpr: {{#var:total}} >= 50
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} >= 70
        |Articles Needing Improvement
|Verified Articles
        |Unverified Articles
|{{#ifexpr:
      }}
{{#expr: {{{accuracy|0}}} + {{{sources|0}}} + {{{context|0}}} + {{{category|0}}} + {{{structure|0}}} + {{{linking|0}}} + {{{language|0}}} + {{{ai|0}}} }} >= 50
  }}
|Articles Needing Improvement
|Unverified Articles
}}
}}
}}]]
}}]]
</includeonly>