Template:Dpl top/doc

This template is an alternative to dpl that allows listing multiple categories in the same table. It is to be used with dpl inner and dpl bottom.

Usage
... (more optional calls for listing more categories in the same table)

Parameter details
Required: The table's column headers. Use the same format as you would when declaring column headers in a manual table, eg. ! column1 !! column2
 * col

Optional: The table's classes. Enter bare, without quotes.
 * class

Required: A category to list.
 * cat

Optional: The template from which values will be taken. This will usually be an infobox, like item infobox. Enter the bare template name without "[[Template:". This template must exist on each page in the category being listed. Default = item infobox.
 * template

Optional: A template that determines how rows will be formatted. This will not usually be in the Template: namespace, but rather a sub-page of the current page, eg. "/dpl" (enter the template's page name without quotes). The template should contain the table code for a single row, and this row code will be repeated for each page in the category. Within this template, use to display a value from the article's infobox. Default = /dpl.
 * format