This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing.
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing.
localp={}p.main=function(frame)localyesno=require('Module:Yesno')localclassmask=require('Module:Class mask')localargs=frame:getParent().argslocalclass=classmask._main{args.classor''}localpagetype=require('Module:Pagetype')._main{class=class}localout=''localofinterest=function(collapsed)localwikiprojects='[[Wikipedia:WikiProject|WikiProjects]]'localtext=' is of interest to 'ifyesno(collapsed)thentext=text..'multiple '..wikiprojects..'.'elsetext=text..'the following '..wikiprojects..':'endreturntextendifyesno(args.blp)thenout=out..frame:expandTemplate{title='BLP'}elseifyesno(args.blpo)thenout=out..frame:expandTemplate{title='BLP others'}endifyesno(args.activepol)thenout=out..frame:expandTemplate{title='Active politician'}endlocalbhargs={templatestyles='WikiProject banner shell/styles.css',collapsed=args.collapsed,size='32',class='wpbs',image='WikiProject Council with transparent background.svg',alt='WikiProject Council',image_link='Wikipedia:WikiProject Council'}localglobalclass=falseifclass==''then-- check if class parameters is defined by any project bannerlocalarticleclass=classmask.readarticleclass{ignore_blank=true,only_subtemplates=true}ifarticleclass==''then-- no class parameters are defined by any project banner, so globally unassessedglobalclass=trueendelse-- global class defined, so display itglobalclass=trueendifglobalclassthenlocalshowclass=require('Module:Class')._classlocalheader=showclass{class,image='yes'}header=header..'<td class="banner-shell-header" style="text-align: left; font-weight: normal;">This 'ifargs.category=='no'thenheader=header..'article 'elseheader=header..pagetype..' 'endifclass==''thenheader=header..'has not yet been rated'elseheader=header..'is rated <span style="font-weight:bold;">'..class..'-class</span>'endheader=header.." on Wikipedia's [[Wikipedia:Content assessment|content assessment]] scale.<br>"ifargs[1]andargs[1]~=''thenheader=header..'It'..ofinterest(args.collapsed)elseifnotargs.categoryorargs.category==''thenheader=header..'[[Category:'..(class==''and'Unassessed'or(class..'-Class'))..' articles]]'endendheader=header..'</td>'bhargs.header=headerendifargs.headerthenbhargs.text=args.headerelsebhargs.text='This '..pagetype..ofinterest(args.collapsed)endbhargs[1]=args[1]or''out=out..frame:expandTemplate{title='Banner holder',args=bhargs}ifnotargs[1]orargs[1]==''thenout=out..'[[Category:Pages using WikiProject banner shell without banner templates]]'--talkotherendifargs.listasandargs.listas~=''thenframe:preprocess('{{DEFAULTSORT:'..args.listas..'}}')endreturnoutendreturnp