Module:Page assessment/doc

&#x3c;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) --&#x3e;

This module returns a page's assessment (class rating), by:
 * Detecting non-existent pages (Needed class); or
 * Detecting non-existent talk pages (Unassessed class); or
 * Detecting redirects and disambiguation pages (Redirect or Disambig class); or
 * Looking at the talk page for the value in the first class parameter; or
 * Looking at the namespace of the page

text
Returns the class as text. &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;


 * Examples
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →

icon
Returns the class as an icon. &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;


 * Examples
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →

iconLink
Returns the class as an icon and a link to the page. &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e;


 * Examples
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →
 * &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;/code&#x3e; →

In other templates
The output can be passed into other templates or modules, for example to generate table cells: &#x3c;pre style="margin-left:1.6em"&#x3e; &#x3c;/pre&#x3e;

&#x3c;includeonly&#x3e;&#x3c;/includeonly&#x3e;