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.
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quality level | level | One of: 0%, 25%, 50%, 75%, 100%. Drives the icon and (in mainspace) the tracking category.
| String | required |
CSS class | class | Extra CSS class for the wrapper span. Default: noprint. | String | optional |
Suppress categories | nocat | Set to 'yes' to suppress tracking categories outside mainspace.
| String | optional |