To use this code paste the following into a Category listing.
{{CategoryIcons}}
To exclude NPCs paste this instead:
<center> {{#dpl: |category = {{PAGENAME}} |category = Characters |mode = userformat |ordermethod = title |columns = 7 |rowcolformat = width=700px |suppresserrors = yes |format = ,[[File:%TITLE%-icon.gif|link=%TITLE%]],, }} </center>