Template:Text quality/doc

From Chalo Chatu, Zambia online encyclopedia
Jump to navigationJump to search
This is a documentation subpage for Template:Text quality.
It contains usage information, categories and other content that is not part of the original template page.

This page documents the template {{TextQuality}}. It provides a small page-status indicator for the prose quality of an article. For the guideline behind the levels, see Chalo Chatu:Text quality.

What this template does

  • Renders a small icon (often via an Indicator) showing the page’s text quality level.
  • In mainspace only, adds a tracking category: ‘‘Category:Text quality N%’’ (where N is 0, 25, 50, 75, 100).

Usage

Place once at the very top of a page (just below any short description).

Preferred (named parameter)
{{TextQuality|level=50%}}
Legacy positional (kept for compatibility)
{{TextQuality|50%}}
Optional CSS class (default is noprint)
{{TextQuality|level=75%|class=noprint}}
Suppress categories outside mainspace
{{TextQuality|level=25%|nocat=yes}}

Parameters

level
One of: 0%, 25%, 50%, 75%, 100%. Controls the icon and (in mainspace) the tracking category.
class
Extra CSS class for the wrapper (default: noprint).
nocat
Set to ‘‘yes’’ to suppress category output (useful in User/Talk/Draft).

Levels

Level Icon Meaning (short) Typical actions
0% 0% Text added / very rough Start basic copyedits; add sections; fix obvious errors
25% 25% Being edited / partial Expand stubs; structure the lead; fix grammar; cleanup
50% 50% Text complete (unproofread) Full pass for style and consistency; verify names/terms
75% 75% Proofread and corrected Second review; tighten wording; resolve talk-page notes
100% 100% Proofread by several users Light housekeeping; keep current

Categories added (mainspace only)

  • Category:Text quality 0%
  • Category:Text quality 25%
  • Category:Text quality 50%
  • Category:Text quality 75%
  • Category:Text quality 100%

To avoid categorisation:

{{TextQuality|level=25%|nocat=yes}}

File set required

Upload these exact file names:

  • File:00_percent.svg
  • File:25_percent.svg
  • File:50_percent.svg
  • File:75_percent.svg
  • File:100_percent.svg

Examples

Basic stub under construction
{{TextQuality|level=25%}}
Ready for first proofread
{{TextQuality|50%}}
Proofread by multiple editors
{{TextQuality|100%}}
Draft or sandbox without categories
{{TextQuality|level=25%|nocat=yes}}

See also

Page-status indicator for prose quality. Shows an icon and (in mainspace) adds a tracking category by level.

Template parameters

ParameterDescriptionTypeStatus
Quality levellevel

One of: 0%, 25%, 50%, 75%, 100%. Drives the icon and (in mainspace) the tracking category.

Example
50%
Stringrequired
CSS classclass

Extra CSS class for the wrapper span. Default: noprint.

Stringoptional
Suppress categoriesnocat

Set to 'yes' to suppress tracking categories outside mainspace.

Example
yes
Stringoptional