This module returns a page's assessment (class rating), by:
Returns the class as text.<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|main|''page name''}}
<nowiki>{{#invoke:Page assessment|main|Wikipedia}}</nowiki>
→
<nowiki>{{#invoke:Page assessment|main|Wiktionary}}</nowiki>
→
<nowiki>{{#invoke:Page assessment|main|Wikt}}</nowiki>
→ Returns the class as an icon.<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|icon|''page name''}}
<nowiki>{{#invoke:Page assessment|icon|Wikipedia}}</nowiki>
→
<nowiki>{{#invoke:Page assessment|icon|Wiktionary}}</nowiki>
→
<nowiki>{{#invoke:Page assessment|icon|Wikt}}</nowiki>
→ Returns the class as an icon and a link to the page.<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|iconLink|''page name''}}
<nowiki>{{#invoke:Page assessment|iconLink|Wikipedia}}</nowiki>
→
<nowiki>{{#invoke:Page assessment|iconLink|Wiktionary}}</nowiki>
→
<nowiki>{{#invoke:Page assessment|iconLink|Wikt}}</nowiki>
→ The output can be passed into other templates or modules, for example to generate table cells:
style="margin-left:1.6em"> {|class=wikitable ! Class !! Article |- {{class|{{#invoke:Page assessment|main|Wiktionary}}}}<td>[[Wiktionary]]</td> |}