Template:BooksDPL/doc

Usage
This template makes use of the DynamicPageList extension (full manual). It serves to provide simpler access to the use of a particular DPL tag, which can be viewed in the template's source code. By looking at the infoboxes of articles in the specified category, it generates a table with six parameters: their name, province, region, race, gender, and faction.

The template uses two  calls in order to bypass the system's limit of 500 entries. An additional  call is used in order to handle pipe links (this is associated with the regular expression near the end,  ). i.e. a pagename of  is linked as   in the table.


 * category – only this category will be searched
 * include – the template is used on the pages and then its parameters are included
 * titlematch – any titles matching this will be included
 * nottitleregexp – any titles matching this will be not included (uses regular expressions)

Example
This code will generate a template based on articles in Category:Online: Books and that use the template OnlineBooks. It is set to match pages with any characters on them, excluding those that start with alphabetic characters.